Username Search
Premium · 5 creditsCheck whether a username is available on popular platforms like GitHub, Twitter, Instagram, and more.
POST /api/username-search
Section titled “POST /api/username-search”Parameters
Section titled “Parameters”| Field | Type | Required | Description |
|---|---|---|---|
username | string | Yes | Username to search |
platforms | array | No | Filter to specific platforms. Omit to check all |
Response
Section titled “Response”| Field | Type | Description |
|---|---|---|
username | string | Searched username |
results | array | Per-platform results |
results[].platform | string | Platform name |
results[].url | string | Profile URL |
results[].available | boolean | Whether the username is available |
results[].status | string | available, taken, error, or timeout |
results[].error | string | Error message if the check failed |
Examples
Section titled “Examples”Check all platforms
Section titled “Check all platforms”curl -X POST https://morso.dev/api/username-search \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"username": "morsodev"}'{ "username": "morsodev", "results": [ {"platform": "GitHub", "url": "https://github.com/morsodev", "available": true, "status": "available"}, {"platform": "Twitter", "url": "https://twitter.com/morsodev", "available": false, "status": "taken"}, {"platform": "Instagram", "url": "https://instagram.com/morsodev", "available": true, "status": "available"}, {"platform": "Reddit", "url": "https://reddit.com/user/morsodev", "available": true, "status": "available"} ]}Specific platforms
Section titled “Specific platforms”curl -X POST https://morso.dev/api/username-search \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"username": "morsodev", "platforms": ["GitHub", "Twitter"]}'{ "username": "morsodev", "results": [ {"platform": "GitHub", "url": "https://github.com/morsodev", "available": true, "status": "available"}, {"platform": "Twitter", "url": "https://twitter.com/morsodev", "available": false, "status": "taken"} ]}