{"id":49109177,"url":"https://github.com/osint-services/phone_search","last_synced_at":"2026-05-17T06:31:34.515Z","repository":{"id":350941145,"uuid":"893997184","full_name":"osint-services/phone_search","owner":"osint-services","description":"A Python microservice to retrieve relevant information for a given name, address, email or phone number.","archived":false,"fork":false,"pushed_at":"2026-04-12T21:03:00.000Z","size":34,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-21T03:52:07.376Z","etag":null,"topics":["beautifulsoup4","fastapi","httpx","osint","proxy","python","python3","search","thatsthem"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osint-services.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-25T15:13:59.000Z","updated_at":"2026-04-12T21:03:06.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/osint-services/phone_search","commit_stats":null,"previous_names":["osint-services/phone_search"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/osint-services/phone_search","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osint-services%2Fphone_search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osint-services%2Fphone_search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osint-services%2Fphone_search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osint-services%2Fphone_search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osint-services","download_url":"https://codeload.github.com/osint-services/phone_search/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osint-services%2Fphone_search/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33129247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T06:27:06.342Z","status":"ssl_error","status_checked_at":"2026-05-17T06:26:59.432Z","response_time":107,"last_error":"SSL_read: 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":["beautifulsoup4","fastapi","httpx","osint","proxy","python","python3","search","thatsthem"],"created_at":"2026-04-21T03:33:51.163Z","updated_at":"2026-05-17T06:31:34.496Z","avatar_url":"https://github.com/osint-services.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phone_search\n\nA small FastAPI microservice that resolves caller name information for a phone number using Twilio Lookup v2.\n\n## Overview\nThis service exposes a single endpoint to look up caller name metadata for a phone number in E.164 format.\n\n## Requirements\n- Python 3.9 or higher\n- Twilio account with Lookup API access\n\n## Environment Variables\n- `TWILIO_ACCOUNT_SID`\n- `TWILIO_AUTH_TOKEN`\n\nThe service will fail to start if either environment variable is missing.\n\n## Tech Stack\n- FastAPI\n- Uvicorn\n- Twilio Python SDK\n- Pydantic\n\n## Setup\n1. Create a Python virtual environment:\n   `python -m venv venv`\n2. Activate it:\n   `source venv/bin/activate`\n3. Install dependencies:\n   `pip install -r requirements.txt`\n4. Set your Twilio credentials:\n   `export TWILIO_ACCOUNT_SID=your_sid`\n   `export TWILIO_AUTH_TOKEN=your_token`\n5. Start the server:\n   `uvicorn server:app --reload`\n\n## Endpoint\n- GET `/lookup/caller-name?phone_number={phone_number}`\n  - Query parameter: `phone_number` in E.164 format, e.g. `+18135551212`\n  - Returns caller name metadata for the requested phone number.\n\n## Example Response\n```json\n{\n  \"phone_number\": \"+18135551212\",\n  \"valid\": true,\n  \"national_format\": \"+1 813-555-1212\",\n  \"country_code\": \"US\",\n  \"caller_name\": \"SCAM ALERT\",\n  \"caller_type\": \"business\",\n  \"error\": null\n}\n```\n\n## Notes\n- The current implementation uses `twilio.rest.Client` and Twilio Lookup v2.\n- Errors from Twilio are returned as HTTP errors with a JSON detail payload.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosint-services%2Fphone_search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosint-services%2Fphone_search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosint-services%2Fphone_search/lists"}