API Documentation
Welcome to the ZenAPI API. Our API allows you to extract data from social media platforms with high speed and reliability. Use our endpoints to integrate real-time social data into your own applications.
Authentication
To use the API, you need an API key. You can generate one in your Dashboard.
Include your key in the Authorization header for every request:
Authorization: Token YOUR_API_KEY/v1/instagram/proxy
Access the full power of our scraping engine. Use this to call any available Instagram method directly. This is the recommended way for advanced data extraction.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
endpoint | string | Required | The specific method to call (e.g. "search", "user-feeds") |
params | object | Optional | Map of query parameters for the endpoint |
Popular Endpoints
/v1/instagram/user/info
Retrieve a **clean and normalized** profile object. Perfect for quick integrations where you need formatted biography, followers count, and latest 12 posts.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
username | string | Required | The Instagram username to fetch |
Rate Limits
Rate limits depend on your current subscription plan. If you exceed your limit, the API will return a 429 Too Many Requests response.
Check your current usage in the Analytics tab.
Error Responses
401UnauthorizedInvalid or missing API key
400Bad RequestMissing required parameters (e.g., username)
429Rate Limit ExceededYou have reached your monthly or per-second request limit
500Internal Server ErrorSomething went wrong on our side