{"id":26942104,"url":"https://github.com/deadpool2000/short-url-expander-api","last_synced_at":"2026-05-18T10:03:42.383Z","repository":{"id":284367457,"uuid":"864612669","full_name":"Deadpool2000/Short-URL-Expander-API","owner":"Deadpool2000","description":"An API to expand Short URL with all possible redirections","archived":false,"fork":false,"pushed_at":"2024-10-05T05:20:42.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T07:37:47.668Z","etag":null,"topics":["api","apis","flask","flask-api","flask-application","flaskapplication","python","python-api","python3","rest-api","restapi","restful-api","short-url-expander","url-shortener"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Deadpool2000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-28T17:24:12.000Z","updated_at":"2025-07-20T18:36:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"23b37c5a-1a11-47ac-b729-5c4e0421ba42","html_url":"https://github.com/Deadpool2000/Short-URL-Expander-API","commit_stats":null,"previous_names":["deadpool2000/short-url-expander-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Deadpool2000/Short-URL-Expander-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deadpool2000%2FShort-URL-Expander-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deadpool2000%2FShort-URL-Expander-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deadpool2000%2FShort-URL-Expander-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deadpool2000%2FShort-URL-Expander-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Deadpool2000","download_url":"https://codeload.github.com/Deadpool2000/Short-URL-Expander-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deadpool2000%2FShort-URL-Expander-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33174091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","apis","flask","flask-api","flask-application","flaskapplication","python","python-api","python3","rest-api","restapi","restful-api","short-url-expander","url-shortener"],"created_at":"2025-04-02T16:39:41.939Z","updated_at":"2026-05-18T10:03:42.378Z","avatar_url":"https://github.com/Deadpool2000.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Short URL Expander API\n\nThe **Short URL Expander API** allows you to expand shortened URLs and follow all possible redirections. This API is useful when you want to trace the final destination of a shortened URL.\n\n## Features\n\n- Expand shortened URLs\n- Follow all possible redirections\n- Get the final destination URL\n\n## Installation\n\n    git clone https://github.com/Deadpool2000/Short-URL-Expander-API\n\n    pip install flask\n\n    cd Short-URL-Expander-API/\n\nAfter this, just run code - \n\n    python3 app.py\n\n    \n\n## API Endpoints\n\n### `GET /extract`\n\nExpands a shortened URL by following all redirections until the final destination URL is reached.\n\n#### Request\n\n- **URL**: `/extract`\n- **Method**: `GET`\n\n\n#### Body Parameters:\n\n| Parameter | Type   | Description                        | Required |\n|-----------|--------|------------------------------------|----------|\n| `url`     | string | The shortened URL to be expanded   | Yes      |\n\nExample (Local Testing):\n\n```\nhttps://127.0.0.1:5000/extract?url=https://bit.ly/example\n```\n\n## Example Output\n\nThis is an example short link - \n\nhttps://bit.ly/3Bg19uM\n\nExpected output will be - \n\n```\n{\n  \"All Possible Redirections\": [\n        \"https://www.usatoday.com/story/travel/2022/02/10/amtrak-deal-valentines-offer-sale/6741296001/\",\n        \"https://www.usatoday.com/story/travel/2022/02/10/amtrak-deal-valentines-offer-sale/6741296001/\"\n  ],\n\n  \"Full Link\": \"https://www.usatoday.com/story/travel/2022/02/10/amtrak-deal-valentines-offer-sale/6741296001/\",\n\n  \"Original URL\": \"https://bit.ly/3Bg19uM\"\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadpool2000%2Fshort-url-expander-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadpool2000%2Fshort-url-expander-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadpool2000%2Fshort-url-expander-api/lists"}