Quickstart
Make your first request in under a minute.
1. Get an API key
Sign up — the free trial includes 100 API calls, no credit card required. Your key is available in the dashboard.
2. Call the API
curl https://api.getsocialapi.com/v1/instagram/user/durov \
-H "Authorization: Bearer gsa_live_..."
Response:
{
"id": "504383257",
"username": "durov",
"full_name": "Du Rove",
"followers": 1873,
"is_verified": true
}
3. Facebook works the same way
curl -G "https://api.getsocialapi.com/fb/resolve" \
--data-urlencode "url=https://www.facebook.com/groups/freegarden/" \
-H "X-API-Key: gsa_live_..."
# {"url": "...", "group_id": "800246542990860"}
SDKs
- Python (Instagram) —
pip install getsocialapi— full SDK reference - Python (Facebook) —
pip install getsocialapi-facebook— full SDK reference
from getsocialapi import Client
client = Client(api_key="gsa_live_...")
# No cookies. No accounts.
client.instagram.user("durov")
client.facebook.page("nasa")