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
POST

/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

NameTypeRequiredDescription
endpointstringRequiredThe specific method to call (e.g. "search", "user-feeds")
paramsobjectOptionalMap of query parameters for the endpoint

Popular Endpoints

profile
Detailed user info by username or ID
user-feeds
Latest posts from a user ID
reels
Reels and video feeds
search
Global search for users & tags
post
Media details by URL or ID
post-dl
Direct download links for media
POST

/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

NameTypeRequiredDescription
usernamestringRequiredThe 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

401Unauthorized

Invalid or missing API key

400Bad Request

Missing required parameters (e.g., username)

429Rate Limit Exceeded

You have reached your monthly or per-second request limit

500Internal Server Error

Something went wrong on our side