Skip to main content
POST
Use for popular-video inspiration, cross-platform discovery, relevance ranking, fallback recommendations, and cursor pagination. Do not replace it with separate raw Instagram, YouTube, or TikTok calls. Planned research: pass the user’s natural-language requirement and requested platforms; Creator Insights prepares the platform searches and stops successful platforms early. Direct search: pass direct_keyword and exactly one platform only when the user already supplied a final term or selected a returned recommendation. For a manually supplied direct term, Instagram expects a concise lowercase hyphenated topic with at most two concepts, TikTok a short natural phrase of about two or three space-separated terms, and YouTube a concise natural-language search phrase. Use raw platform fetchers only for explicitly requested raw profiles, posts, URLs, transcripts, comments, or unranked platform searches. results is the shortlist, allResults is the fetched review set, recommendations is keyed by weak platform, and failedPlatforms preserves partial-success diagnostics. Continue with the returned cursor and same workspace. Each non-empty source call costs one credit; empty or failed calls cost zero. The backend allows at most four calls per selected platform, so one, two or three platforms can cost at most 4, 8 or 12 credits. Service-side credit preflight and workspace limits apply automatically. Do not expose or recreate internal query-generation instructions. Each source query costs one credit only when it returns videos. Empty and failed source queries cost zero. Read data.creditsCharged for the actual V2 search charge; the JSON-tool envelope has no extra charge and the dedicated REST envelope omits a second charge field.
Examples use illustrative values. The playground sends a real request. Intelligence can consume plan credits. Publishing examples save drafts.

Endpoint

POST https://api.creatorinsights.in/v1/video-inspiration/search Content type: application/json Authentication: x-api-key: YOUR_SAVED_API_KEY MCP tool: find_popular_videos. See MCP Setup for AI clients.

Operation behavior

New searches accept a natural-language requirement and explicit platforms. Direct-keyword searches accept one platform and skip AI planning and ranking. Cursor continuation reuses the last successful stored query. The operation keeps platform results separate, applies only supported filters, and uses the selected workspace for context, ownership and automatic credit enforcement. Each non-empty source call settles one credit. Empty and failed source calls settle zero. Credit preflight and limits are enforced automatically.

MCP call

Request parameters

string
Active workspace ID or current name in your organization. Optional header alternative to passing workspace in the body.
string
Workspace ID or current name in the authenticated organization. Required for paid requests when more than one active workspace exists. Call list_workspaces to discover IDs; the selected workspace determines context, data and its spending limit for this request.
string
What videos to find. The explicit request has priority over workspace context.
string[]
One or more explicitly requested platforms. Required for a new search; omit when continuing with cursor.
object
Optional platform-specific search filters for YouTube and TikTok. Instagram does NOT accept any filters (no period, sort, duration, or country/region). Shared keys (sort_by, region) are routed to YouTube and TikTok using their native vocabulary. All filters are ignored for Instagram. Omit a field to use the documented default; do not pass empty strings.
string
A platform-native direct term for exactly one platform. Instagram: concise lowercase hyphenated topic, at most two concepts. TikTok: short natural phrase, usually two or three space-separated terms. YouTube: concise natural-language search phrase. Omit requirement and cursor.
string
Opaque continuation cursor from the previous find_popular_videos response. When present, the stored requirement, platforms, filters and query plan are reused.

Request example

Send these arguments directly as the JSON body.

Response example

HTTP 200. Illustrative values; optional fields can be omitted, null, or empty. Additional platform fields may be returned.

Response fields

boolean
required
Whether this operation succeeded. Also check HTTP status and nested platform statuses.
object
required
Operation-specific payload. See the nested field table and response example below.
The interactive schema includes deeper nested fields. Sample fields are descriptive, not a promise that every record includes them.

n8n and JSON tool endpoint

POST https://api.creatorinsights.in/api/v1/tools/find_popular_videos. Use Header Auth with x-api-key and body content type JSON. The outer credits_deducted is zero because V2 settles source-query credits itself. Read data.creditsCharged for the actual charge.

Errors

Handle non-2xx responses before mapping data. Error codes vary with the cause; these are representative examples. A 429 response may be plain text. Never treat a queued post as published or blindly retry a partial publication.