API Documentation
ZenAPI provides stable JSON endpoints for social, finance, and media data. Use service-specific routes for new integrations. The legacy universal/v1/scraperoute remains available for compatibility.
Authentication
Generate an API key in your dashboard and include it in the `Authorization` header for every request.
Authorization: Token YOUR_API_KEYRequest Body
Public endpoints use a consistent body shape. `target` is for direct lookups, `query` is for search, `params` carries endpoint-specific options, and `nocache` bypasses Redis cache when needed.
| Name | Type | Description |
|---|---|---|
target | string | Username, ticker symbol, IMDb id, URL, or direct lookup value. |
query | string | Search query. Used as target when target is omitted. |
params | object | Endpoint-specific options such as date ranges or filters. |
nocache | boolean | If true, bypasses cached responses. |
Credit Costs
Every successful request uses the service-level credit cost shown below. The same cost applies to all endpoints within a service.
| Service | Credits per request |
|---|---|
| 25 | |
| Google Search | 10 |
| 5 | |
| YouTube | 4 |
| 3 | |
| Yahoo Finance | 1 |
| X | 1 |
| Google Maps | 1 |
| IMDb | 1 |
| TikTok | 1 |
Cache hits are charged as successful responses. Validation, authentication, and rate-limit failures do not consume credits. Provider and server 5xx responses refund reserved credits.
/v1/instagram/profiles/get
Instagram Profile
Retrieve a normalized Instagram profile by username.
{"target":"cristiano"}Instagram Endpoints
/v1/instagram/profiles/getProfile by username
/v1/instagram/users/searchSearch users
/v1/instagram/media/listMedia by user id
/v1/instagram/media/getMedia info by post URL
/v1/instagram/media/downloadMedia download data
/v1/instagram/reels/listReels by user id
/v1/instagram/hashtags/mediaHashtag media
/v1/tiktok/profiles/get
TikTok Profile
Retrieve TikTok profile data by username. Requires the TikTok provider host to be configured in the engine runtime.
{"target":"tiktok"}TikTok Endpoints
/v1/tiktok/profiles/getProfile by username
/v1/tiktok/users/postsUser posts by secUid
/v1/tiktok/search/videosSearch videos
/v1/tiktok/search/accountsSearch accounts
/v1/tiktok/videos/getVideo details
/v1/tiktok/videos/commentsVideo comments
/v1/tiktok/videos/trendingTrending videos
/v1/tiktok/hashtags/postsHashtag posts
/v1/tiktok/music/getMusic details
/v1/tiktok/music/postsMusic posts
/v1/tiktok/music/trendingTrending music
/v1/yahoo-finance/quotes/get
Yahoo Finance Quote
Retrieve quote summary data by ticker symbol.
{"target":"AAPL"}Yahoo Finance Endpoints
/v1/yahoo-finance/searchSearch instruments
/v1/yahoo-finance/quotes/getQuote summary
/v1/yahoo-finance/quotes/profileCompany profile
/v1/yahoo-finance/quotes/statisticsQuote statistics
/v1/yahoo-finance/quotes/historyHistorical data
/v1/yahoo-finance/stocks/most-activeMost active stocks
/v1/yahoo-finance/stocks/top-gainersTop gainers
/v1/yahoo-finance/stocks/top-losersTop losers
/v1/imdb/titles/get
IMDb Title
Retrieve title details by IMDb title id.
{"target":"tt0111161"}IMDb Endpoints
/v1/imdb/searchSearch titles
/v1/imdb/titles/getTitle details
/v1/imdb/titles/ratingTitle rating
/v1/imdb/titles/castTitle cast
/v1/imdb/titles/similarSimilar titles
/v1/imdb/names/getPerson details
/v1/imdb/lists/top250-moviesTop 250 movies
/v1/imdb/lists/most-popular-moviesMost popular movies
/v1/google-maps/search
Google Maps Places Search
Search Google Maps places by query. Optional params include country, lang, limit, lat, lng, offset, and zoom.
{"query":"restaurant","params":{"country":"us","lang":"en","limit":"20"}}Google Maps Endpoints
/v1/google-maps/searchPlaces search
/v1/google-maps/nearbyNearby places
/v1/google-maps/places/getPlace details
/v1/google-maps/geocoding/getGeocoding
/v1/google-maps/reviews/listPlace reviews
/v1/google-maps/photos/listPlace photos
/v1/google-maps/locations/what-is-hereReverse location lookup
/v1/google-search/images/search
Google Image Search
Search Google Images by query. Optional params include gl, lr, num, and page.
{"query":"World Cup","params":{"gl":"us","lr":"lang_en","num":"10","page":"1"}}Google Search Endpoints
/v1/google-search/images/searchImage search
/v1/youtube/videos/get
YouTube Video
Retrieve YouTube video details by video id. Optional params can be passed through the standard params object.
{"target":"PuQFESk0BrA"}YouTube Endpoints
/v1/youtube/videos/getVideo details
/v1/youtube/videos/dataVideo data
/v1/youtube/videos/commentsVideo comments
/v1/youtube/videos/subtitlesVideo subtitles
/v1/youtube/videos/recommendationsVideo recommendations
/v1/youtube/channels/idChannel id by name
/v1/youtube/channels/getChannel details
/v1/youtube/channels/videosChannel videos
/v1/youtube/channels/shortsChannel shorts
/v1/youtube/channels/searchSearch inside channel
/v1/youtube/searchSearch videos
/v1/youtube/trendingTrending videos
/v1/linkedin/companies/get
LinkedIn Company
Retrieve LinkedIn company details by company username. LinkedIn endpoints also support profile, job, post, and location research use cases.
{"target":"google"}LinkedIn Endpoints
/v1/linkedin/profiles/getProfile by username
/v1/linkedin/profiles/get-by-urlProfile by URL
/v1/linkedin/profiles/searchPeople search
/v1/linkedin/profiles/postsProfile posts
/v1/linkedin/profiles/commentsProfile comments
/v1/linkedin/profiles/connection-countConnection count
/v1/linkedin/profiles/recent-activityRecent activity
/v1/linkedin/profiles/similarSimilar profiles
/v1/linkedin/profiles/position-skillsPosition skills
/v1/linkedin/profiles/top-positionsTop positions
/v1/linkedin/profiles/posted-jobsPosted jobs by profile
/v1/linkedin/profiles/articlesProfile articles
/v1/linkedin/companies/getCompany details
/v1/linkedin/companies/get-by-idCompany by id
/v1/linkedin/companies/get-by-domainCompany by domain
/v1/linkedin/companies/insightsCompany insights
/v1/linkedin/companies/jobs-countCompany jobs count
/v1/linkedin/companies/postsCompany posts
/v1/linkedin/jobs/searchJob search
/v1/linkedin/jobs/getJob details
/v1/linkedin/posts/getPost details
/v1/linkedin/locations/searchLocation search
/v1/reddit/search
Reddit Search
Search Reddit content by keyword. Optional params include subreddit, filter, timeFilter, and sortType.
{"query":"investing","params":{"subreddit":"wallstreetbets","filter":"posts"}}Reddit Endpoints
/v1/reddit/searchSearch Reddit
/v1/reddit/subreddits/postsSubreddit posts
/v1/reddit/posts/getPost details
/v1/reddit/subreddits/popularPopular subreddits
/v1/reddit/subreddits/newNew subreddits
/v1/reddit/subreddits/getSubreddit info
/v1/reddit/subreddits/commentsSubreddit comments
/v1/reddit/users/statsUser stats
/v1/reddit/users/dataUser data
/v1/x/profiles/get
X Profile
Retrieve X profile data by screen name. X endpoints also support timeline, tweet, search, trends, and community research use cases.
{"target":"elonmusk"}X Endpoints
/v1/x/profiles/getProfile by screen name
/v1/x/profiles/aboutProfile about data
/v1/x/users/timelineUser timeline
/v1/x/users/followingFollowing
/v1/x/users/followersFollowers
/v1/x/users/mediaUser media
/v1/x/tweets/getTweet details
/v1/x/tweets/threadTweet thread
/v1/x/tweets/latest-repliesLatest replies
/v1/x/tweets/retweetsRetweets
/v1/x/searchSearch posts
/v1/x/trendsTrends
/v1/x/top-postsTop posts
/v1/x/jobs/searchJob search
/v1/x/communities/getCommunity info
/v1/x/communities/timelineCommunity timeline
/v1/x/communities/searchCommunity search
/v1/x/users/batchBatch users by rest ids
/v1/x/spaces/getSpace details
Error Responses
401UnauthorizedInvalid or missing API key.
400Bad RequestMissing or invalid request parameters.
429Rate Limit ExceededRate limit or plan limit reached.
503Provider Temporarily UnavailableThe requested data source is temporarily unavailable.