curl --request GET \ --url https://api.influship.com/v1/posts \ --header 'X-API-Key: <api-key>'
import Influship from 'influship';
const client = new Influship({
apiKey: process.env['INFLUSHIP_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const postListResponse of client.posts.list()) {
console.log(postListResponse.id);
}
{
"error": {
"code": "validation_error",
"message": "Invalid value for parameter 'limit': must be between 1 and 100",
"param": "limit",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}
{
"error": {
"code": "forbidden",
"message": "Your plan does not include access to this endpoint",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}
{
"error": {
"code": "not_found",
"message": "Creator with ID '123e4567-e89b-12d3-a456-426614174000' not found",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}
curl --request GET \ --url https://api.influship.com/v1/posts \ --header 'X-API-Key: <api-key>'
import Influship from 'influship';
const client = new Influship({
apiKey: process.env['INFLUSHIP_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const postListResponse of client.posts.list()) {
console.log(postListResponse.id);
}
{
"error": {
"code": "validation_error",
"message": "Invalid value for parameter 'limit': must be between 1 and 100",
"param": "limit",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}
{
"error": {
"code": "forbidden",
"message": "Your plan does not include access to this endpoint",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}
{
"error": {
"code": "not_found",
"message": "Creator with ID '123e4567-e89b-12d3-a456-426614174000' not found",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Influship API","colors":{"primary":"#16A34A","light":"#4ADE80","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/influship/NugDxR264lVrW5Cv/logo/light.svg?fit=max\u0026auto=format\u0026n=NugDxR264lVrW5Cv\u0026q=85\u0026s=68ca499d9d7f4049e572f9eea4e5dd24","dark":"https://mintcdn.com/influship/NugDxR264lVrW5Cv/logo/dark.svg?fit=max\u0026auto=format\u0026n=NugDxR264lVrW5Cv\u0026q=85\u0026s=68173b08f3a0850c6da7966c3acc8034"},"favicon":"https://mintcdn.com/influship/Q2xaykBmKwqT1-OK/favicon.svg?fit=max\u0026auto=format\u0026n=Q2xaykBmKwqT1-OK\u0026q=85\u0026s=f7e164bb5d15b2733a6f5f2d1f8a0eee","api":{"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"all","languages":["bash","javascript","python"],"prefill":true}},"navbar":{"links":[{"href":"mailto:elliot@influship.com","label":"Support"}],"primary":{"type":"button","label":"Get API Key","href":"https://developers.influship.com"}},"footer":{"socials":{"x":"https://x.com/influship","github":"https://github.com/influship","linkedin":"https://linkedin.com/company/influship"}},"integrations":{"telemetry":{"enabled":true}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"variables":{"BASE_URL":"https://api.influship.com","DASHBOARD_URL":"https://developers.influship.com"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"chart-bar","href":"https://developers.influship.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"influship","hasAudioNarration":false,"actualSubdomain":"influship","customDomains":["docs.influship.com"],"gitSource":{"type":"github","owner":"influship","repo":"influship","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af220603d5fb858f03de796","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":45},{"language":"default","tag":"Endpoints","count":44},{"language":"default","tag":"Documentation","count":32},{"language":"default","tag":"Live Scraping","count":25},{"language":"default","tag":"Operate your integration","count":7},{"language":"default","tag":"Apps and workflows","count":7},{"language":"default","tag":"Creators","count":5},{"language":"default","tag":"Research and save","count":4},{"language":"default","tag":"Start building","count":4},{"language":"default","tag":"Live platform data","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/posts/get-posts","slug":"/api-reference/posts/get-posts","pageMetadata":{"title":"Get Posts","description":"Retrieve Instagram posts for a creator or profile with engagement metrics and media data. Only Instagram posts are returned.\n\n**Query options:**\n- By creator: Use `creator_id` to get posts across all of their Instagram profiles. Creators without an Instagram profile return an empty page\n- By profile: Use `platform` + `username` for a specific profile's posts. Usernames are matched case-insensitively\n\n**Sort options:**\n- `recent`: Most recent posts first (default)\n- `top_engagement`: Highest view-based engagement rate first, calculated as (likes + comments) / views. Posts without measurable views sort last\n- `most_likes`: Most likes first\n- `most_views`: Most views first (video content)\n- `most_comments`: Most comments first\n\nPagination uses an opaque keyset cursor. Pass `next_cursor` back with the same `sort` value; cursors cannot be reused across sort orders.\n\nAlso callable as the `get_posts` MCP tool — see [the MCP server guide](/guides/mcp-server) for setup.\n\n**Pricing**: 0.05 credits per post returned ($0.0005)","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/posts","href":"/api-reference/posts/get-posts","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Retrieve Instagram posts for a creator or profile with engagement metrics and media data. Only Instagram posts are returned.\"\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Query options:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"By creator: Use \", _jsx(_components.code, {\n children: \"creator_id\"\n }), \" to get posts across all of their Instagram profiles. Creators without an Instagram profile return an empty page\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"By profile: Use \", _jsx(_components.code, {\n children: \"platform\"\n }), \" + \", _jsx(_components.code, {\n children: \"username\"\n }), \" for a specific profile’s posts. Usernames are matched case-insensitively\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Sort options:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"recent\"\n }), \": Most recent posts first (default)\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"top_engagement\"\n }), \": Highest view-based engagement rate first, calculated as (likes + comments) / views. Posts without measurable views sort last\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"most_likes\"\n }), \": Most likes first\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"most_views\"\n }), \": Most views first (video content)\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"most_comments\"\n }), \": Most comments first\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Pagination uses an opaque keyset cursor. Pass \", _jsx(_components.code, {\n children: \"next_cursor\"\n }), \" back with the same \", _jsx(_components.code, {\n children: \"sort\"\n }), \" value; cursors cannot be reused across sort orders.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Also callable as the \", _jsx(_components.code, {\n children: \"get_posts\"\n }), \" MCP tool — see \", _jsx(_components.a, {\n href: \"/guides/mcp-server\",\n children: \"the MCP server guide\"\n }), \" for setup.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Pricing\"\n }), \": 0.05 credits per post returned ($0.0005)\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Posts","description":"Retrieve Instagram posts for a creator or profile with engagement metrics and media data. Only Instagram posts are returned.\n\n**Query options:**\n- By creator: Use `creator_id` to get posts across all of their Instagram profiles. Creators without an Instagram profile return an empty page\n- By profile: Use `platform` + `username` for a specific profile's posts. Usernames are matched case-insensitively\n\n**Sort options:**\n- `recent`: Most recent posts first (default)\n- `top_engagement`: Highest view-based engagement rate first, calculated as (likes + comments) / views. Posts without measurable views sort last\n- `most_likes`: Most likes first\n- `most_views`: Most views first (video content)\n- `most_comments`: Most comments first\n\nPagination uses an opaque keyset cursor. Pass `next_cursor` back with the same `sort` value; cursors cannot be reused across sort orders.\n\nAlso callable as the `get_posts` MCP tool — see [the MCP server guide](/guides/mcp-server) for setup.\n\n**Pricing**: 0.05 credits per post returned ($0.0005)","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/posts","href":"/api-reference/posts/get-posts","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"getPosts","summary":"Get Posts","tags":["Posts"],"description":"Retrieve Instagram posts for a creator or profile with engagement metrics and media data. Only Instagram posts are returned.\n\n**Query options:**\n- By creator: Use `creator_id` to get posts across all of their Instagram profiles. Creators without an Instagram profile return an empty page\n- By profile: Use `platform` + `username` for a specific profile's posts. Usernames are matched case-insensitively\n\n**Sort options:**\n- `recent`: Most recent posts first (default)\n- `top_engagement`: Highest view-based engagement rate first, calculated as (likes + comments) / views. Posts without measurable views sort last\n- `most_likes`: Most likes first\n- `most_views`: Most views first (video content)\n- `most_comments`: Most comments first\n\nPagination uses an opaque keyset cursor. Pass `next_cursor` back with the same `sort` value; cursors cannot be reused across sort orders.\n\nAlso callable as the `get_posts` MCP tool — see [the MCP server guide](/guides/mcp-server) for setup.\n\n**Pricing**: 0.05 credits per post returned ($0.0005)","parameters":["69a978c4-c712-4dfc-b39b-a83789f56dcc","d5d40ae2-a41b-4cc1-a395-95b34110404a","f7d5240f-5611-461f-93fe-767223898f38","f36a4f51-ac79-4cff-88f1-7e65236647ec","b4a9f44a-6438-49dd-a17c-692148b734b8","49a8e41d-41bb-4551-a03f-06a5f04e86e1"],"responses":{"200":"ef0710b8-d838-4ea6-83e9-9fbc1d121d3a","400":"791bf0d0-7a08-4809-b7a3-bba047139267","401":"56a75e26-9a72-45e8-aa23-2fd81d397fab","402":"e17219b1-0c14-4e47-b224-b0751f0c9840","403":"41b878ab-bb04-4116-8e27-486960f6e106","404":"3550b4c4-f2f9-49f8-afa5-389f186ed06d","429":"b90f85c1-93f9-40db-9b6d-74818a4191e9","500":"d9626f7a-030e-4857-8b21-5902ecf079d7","503":"7736ee7e-ac58-4d87-af10-3a251f6cc046"},"x-codeSamples":[{"lang":"JavaScript","source":"import Influship from 'influship';\n\nconst client = new Influship({\n apiKey: process.env['INFLUSHIP_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const postListResponse of client.posts.list()) {\n console.log(postListResponse.id);\n}"}],"method":"get","type":"path","servers":["cb411e4f-c34e-4d5a-9543-e1ad828aa243"],"security":["997fc587-8c50-49a8-9255-2fda03275ee3"],"path":"/v1/posts","baseUrlOptions":["https://api.influship.com"],"title":"Get Posts","codeSamples":[{"lang":"JavaScript","source":"import Influship from 'influship';\n\nconst client = new Influship({\n apiKey: process.env['INFLUSHIP_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const postListResponse of client.posts.list()) {\n console.log(postListResponse.id);\n}"}],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"69a978c4-c712-4dfc-b39b-a83789f56dcc":{"schema":{"type":"string","enum":["instagram"],"description":"Platform (required with username)","example":"instagram","uniqueKey":"","typeLabel":"enum\u003cstring>"},"in":"query","name":"platform","description":"Platform (required with username)"},"d5d40ae2-a41b-4cc1-a395-95b34110404a":{"schema":{"description":"Username (required with platform)","example":"fitness_coach_jane","type":"string","minLength":1,"maxLength":50,"uniqueKey":"","typeLabel":"string"},"in":"query","name":"username","description":"Username (required with platform)"},"f7d5240f-5611-461f-93fe-767223898f38":{"schema":{"description":"Creator ID (use this OR platform+username)","example":"123e4567-e89b-12d3-a456-426614174000","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"","typeLabel":"string\u003cuuid>"},"in":"query","name":"creator_id","description":"Creator ID (use this OR platform+username)"},"f36a4f51-ac79-4cff-88f1-7e65236647ec":{"schema":{"default":12,"description":"Maximum posts to return","example":12,"type":"integer","minimum":1,"maximum":50,"uniqueKey":"","typeLabel":"integer"},"in":"query","name":"limit","description":"Maximum posts to return"},"b4a9f44a-6438-49dd-a17c-692148b734b8":{"schema":{"type":"string","enum":["recent","top_engagement","most_likes","most_views","most_comments"],"description":"Sort order","example":"recent","default":"recent","uniqueKey":"","typeLabel":"enum\u003cstring>"},"in":"query","name":"sort","description":"Sort order"},"49a8e41d-41bb-4551-a03f-06a5f04e86e1":{"schema":{"description":"Opaque keyset cursor from next_cursor. A cursor is bound to the sort order that produced it; using it with another sort returns 400.","type":"string","uniqueKey":"","typeLabel":"string"},"in":"query","name":"cursor","description":"Opaque keyset cursor from next_cursor. A cursor is bound to the sort order that produced it; using it with another sort returns 400."}},"responses":{"ef0710b8-d838-4ea6-83e9-9fbc1d121d3a":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Post unique identifier","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"data.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"profile_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Profile unique identifier","example":"123e4567-e89b-12d3-a456-426614174001","isRequired":true,"uniqueKey":"data.items.[INDEX].profile_id","typeLabel":"string\u003cuuid>"},"platform":{"type":"string","enum":["instagram"],"description":"Social media platform","example":"instagram","isRequired":true,"uniqueKey":"data.items.[INDEX].platform","typeLabel":"enum\u003cstring>"},"platform_id":{"type":"string","description":"Platform-specific post ID","example":"CxYz123ABC","isRequired":true,"uniqueKey":"data.items.[INDEX].platform_id","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"Post URL","example":"https://www.instagram.com/p/CxYz123ABC","isRequired":true,"uniqueKey":"data.items.[INDEX].url","typeLabel":"string\u003curi>"},"posted_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Post timestamp","example":"2024-01-15T14:30:00Z","isRequired":true,"uniqueKey":"data.items.[INDEX].posted_at","typeLabel":"string\u003cdate-time>"},"type":{"type":"string","enum":["image","video","carousel","reel","story"],"description":"Type of post","example":"image","isRequired":true,"uniqueKey":"data.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"caption":{"oneOf":[{"type":"string","description":"Post caption","example":"Starting the week with a killer workout! 💪","isRequired":true,"uniqueKey":"data.items.[INDEX].caption.oneOf.0","typeLabel":"string"},{"type":"null","description":"Post caption","example":"Starting the week with a killer workout! 💪","isRequired":true,"uniqueKey":"data.items.[INDEX].caption.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].caption","typeLabel":"string | null"},"media":{"type":"object","properties":{"url":{"oneOf":[{"type":"string","description":"Cover/primary image URL for image and carousel posts. A durable hosted image URL when one is available; otherwise the platform image URL, which expires, so download it promptly. Null for video posts — call GET /v1/raw/instagram/post/{shortcode} for a fresh, downloadable video URL.","example":"https://cdn.example.com/media/post123.jpg","isRequired":true,"uniqueKey":"data.items.[INDEX].media.url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Cover/primary image URL for image and carousel posts. A durable hosted image URL when one is available; otherwise the platform image URL, which expires, so download it promptly. Null for video posts — call GET /v1/raw/instagram/post/{shortcode} for a fresh, downloadable video URL.","example":"https://cdn.example.com/media/post123.jpg","isRequired":true,"uniqueKey":"data.items.[INDEX].media.url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].media.url","typeLabel":"string | null"},"thumbnail_url":{"oneOf":[{"type":"string","description":"Thumbnail URL. For videos, this is the cover frame. A durable hosted image URL when one is available; otherwise the platform thumbnail URL, which expires. If a video has no hosted cover and its platform cover has expired, this is a hosted frame from the video.","example":"https://cdn.example.com/thumbnails/post123.jpg","isRequired":true,"uniqueKey":"data.items.[INDEX].media.thumbnail_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Thumbnail URL. For videos, this is the cover frame. A durable hosted image URL when one is available; otherwise the platform thumbnail URL, which expires. If a video has no hosted cover and its platform cover has expired, this is a hosted frame from the video.","example":"https://cdn.example.com/thumbnails/post123.jpg","isRequired":true,"uniqueKey":"data.items.[INDEX].media.thumbnail_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].media.thumbnail_url","typeLabel":"string | null"},"duration_seconds":{"oneOf":[{"type":"number","description":"Video duration in seconds. Null for non-video posts.","example":45,"isRequired":true,"uniqueKey":"data.items.[INDEX].media.duration_seconds.oneOf.0","typeLabel":"number"},{"type":"null","description":"Video duration in seconds. Null for non-video posts.","example":45,"isRequired":true,"uniqueKey":"data.items.[INDEX].media.duration_seconds.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].media.duration_seconds","typeLabel":"number | null"},"carousel_items":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Zero-based position in the carousel.","example":0,"isRequired":true,"uniqueKey":"data.items.[INDEX].media.carousel_items.oneOf.0.items.[INDEX].index","typeLabel":"integer"},"is_video":{"type":"boolean","description":"True if this item is a video.","example":false,"isRequired":true,"uniqueKey":"data.items.[INDEX].media.carousel_items.oneOf.0.items.[INDEX].is_video","typeLabel":"boolean"},"thumbnail_url":{"oneOf":[{"type":"string","description":"Thumbnail URL for this item. Cover frame for videos. A durable hosted image URL when one is available; otherwise the platform thumbnail URL, which expires.","example":"https://cdn.example.com/thumbnails/carousel_0.jpg","isRequired":true,"uniqueKey":"data.items.[INDEX].media.carousel_items.oneOf.0.items.[INDEX].thumbnail_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Thumbnail URL for this item. Cover frame for videos. A durable hosted image URL when one is available; otherwise the platform thumbnail URL, which expires.","example":"https://cdn.example.com/thumbnails/carousel_0.jpg","isRequired":true,"uniqueKey":"data.items.[INDEX].media.carousel_items.oneOf.0.items.[INDEX].thumbnail_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].media.carousel_items.oneOf.0.items.[INDEX].thumbnail_url","typeLabel":"string | null"}},"required":["index","is_video","thumbnail_url"],"additionalProperties":false,"uniqueKey":"data.items.[INDEX].media.carousel_items.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Per-item structure for carousel posts. Null for non-carousel posts. Per-item video_url is intentionally omitted (would be stale). For fresh video URLs, call GET /v1/raw/instagram/post/{shortcode}.","isRequired":true,"uniqueKey":"data.items.[INDEX].media.carousel_items.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Zero-based position in the carousel.","example":0},"is_video":{"type":"boolean","description":"True if this item is a video.","example":false},"thumbnail_url":{"oneOf":[{"type":"string","description":"Thumbnail URL for this item. Cover frame for videos. A durable hosted image URL when one is available; otherwise the platform thumbnail URL, which expires.","example":"https://cdn.example.com/thumbnails/carousel_0.jpg"},{"type":"null","description":"Thumbnail URL for this item. Cover frame for videos. A durable hosted image URL when one is available; otherwise the platform thumbnail URL, which expires.","example":"https://cdn.example.com/thumbnails/carousel_0.jpg"}]}},"required":["index","is_video","thumbnail_url"],"additionalProperties":false},"description":"Per-item structure for carousel posts. Null for non-carousel posts. Per-item video_url is intentionally omitted (would be stale). For fresh video URLs, call GET /v1/raw/instagram/post/{shortcode}.","isRequired":true,"uniqueKey":"data.items.[INDEX].media.carousel_items.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].media.carousel_items","typeLabel":"object[] | null"}},"required":["url","thumbnail_url","duration_seconds","carousel_items"],"additionalProperties":false,"description":"Post media information","isRequired":true,"uniqueKey":"data.items.[INDEX].media","typeLabel":"object"},"metrics":{"type":"object","properties":{"likes":{"oneOf":[{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Like count","example":4500,"isRequired":true,"uniqueKey":"data.items.[INDEX].metrics.likes.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"maximum":9007199254740991,"description":"Like count","example":4500,"isRequired":true,"uniqueKey":"data.items.[INDEX].metrics.likes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].metrics.likes","typeLabel":"integer | null"},"comments":{"oneOf":[{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Comment count","example":120,"isRequired":true,"uniqueKey":"data.items.[INDEX].metrics.comments.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"maximum":9007199254740991,"description":"Comment count","example":120,"isRequired":true,"uniqueKey":"data.items.[INDEX].metrics.comments.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].metrics.comments","typeLabel":"integer | null"},"views":{"oneOf":[{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"View count (for video content)","example":15000,"isRequired":true,"uniqueKey":"data.items.[INDEX].metrics.views.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"maximum":9007199254740991,"description":"View count (for video content)","example":15000,"isRequired":true,"uniqueKey":"data.items.[INDEX].metrics.views.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].metrics.views","typeLabel":"integer | null"},"shares":{"oneOf":[{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Share count","example":50,"isRequired":true,"uniqueKey":"data.items.[INDEX].metrics.shares.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"maximum":9007199254740991,"description":"Share count","example":50,"isRequired":true,"uniqueKey":"data.items.[INDEX].metrics.shares.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].metrics.shares","typeLabel":"integer | null"},"engagement_rate":{"oneOf":[{"type":"number","description":"Engagement rate for this post as a percentage (e.g. 3.8 means 3.8%)","example":3.8,"isRequired":true,"uniqueKey":"data.items.[INDEX].metrics.engagement_rate.oneOf.0","typeLabel":"number"},{"type":"null","description":"Engagement rate for this post as a percentage (e.g. 3.8 means 3.8%)","example":3.8,"isRequired":true,"uniqueKey":"data.items.[INDEX].metrics.engagement_rate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].metrics.engagement_rate","typeLabel":"number | null"}},"required":["likes","comments","views","shares","engagement_rate"],"additionalProperties":false,"description":"Post engagement metrics","isRequired":true,"uniqueKey":"data.items.[INDEX].metrics","typeLabel":"object"},"hashtags":{"type":"array","items":{"type":"string","uniqueKey":"data.items.[INDEX].hashtags.items.[INDEX]","typeLabel":"string"},"description":"Hashtags used in the post","example":["fitness","workout","motivation"],"isRequired":true,"uniqueKey":"data.items.[INDEX].hashtags","typeLabel":"string[]"},"mentions":{"type":"array","items":{"type":"string","uniqueKey":"data.items.[INDEX].mentions.items.[INDEX]","typeLabel":"string"},"description":"Usernames mentioned in the post","example":["nike","gymshark"],"isRequired":true,"uniqueKey":"data.items.[INDEX].mentions","typeLabel":"string[]"},"location":{"oneOf":[{"type":"object","description":"Post location (if tagged)","required":["name"],"properties":{"name":{"oneOf":[{"type":"string","description":"Location name","example":"Los Angeles, California","isRequired":true,"uniqueKey":"data.items.[INDEX].location.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Location name","example":"Los Angeles, California","isRequired":true,"uniqueKey":"data.items.[INDEX].location.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].location.oneOf.0.name","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.items.[INDEX].location.oneOf.0","typeLabel":"object"},{"type":"null","description":"Post location (if tagged)","isRequired":true,"uniqueKey":"data.items.[INDEX].location.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].location","typeLabel":"object | null"}},"required":["id","profile_id","platform","platform_id","url","posted_at","type","caption","media","metrics","hashtags","mentions","location"],"additionalProperties":false,"description":"Full post details","uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data","typeLabel":"object[]"},"has_more":{"type":"boolean","description":"Whether more results are available","example":true,"isRequired":true,"uniqueKey":"has_more","typeLabel":"boolean"},"next_cursor":{"oneOf":[{"type":"string","description":"Opaque keyset cursor for the next page. Reuse it with the same sort value that produced it.","example":"eyJzb3J0IjoicmVjZW50IiwiaWQiOiIxMjNlNDU2Ny1lODliLTEyZDMtYTQ1Ni00MjY2MTQxNzQwMDAiLCJ2YWx1ZSI6IjIwMjYtMDctMDlUMTI6MDA6MDAuMDAwWiJ9","isRequired":true,"uniqueKey":"next_cursor.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opaque keyset cursor for the next page. Reuse it with the same sort value that produced it.","example":"eyJzb3J0IjoicmVjZW50IiwiaWQiOiIxMjNlNDU2Ny1lODliLTEyZDMtYTQ1Ni00MjY2MTQxNzQwMDAiLCJ2YWx1ZSI6IjIwMjYtMDctMDlUMTI6MDA6MDAuMDAwWiJ9","isRequired":true,"uniqueKey":"next_cursor.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"next_cursor","typeLabel":"string | null"}},"required":["data","has_more","next_cursor"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":[{"id":"123e4567-e89b-12d3-a456-426614174000","profile_id":"123e4567-e89b-12d3-a456-426614174001","platform":"instagram","platform_id":"CxYz123ABC","url":"https://www.instagram.com/p/CxYz123ABC","posted_at":"2024-01-15T14:30:00Z","type":"image","caption":"Starting the week with a killer workout! 💪","media":{"url":"https://cdn.example.com/media/post123.jpg","thumbnail_url":"https://cdn.example.com/thumbnails/post123.jpg","duration_seconds":45,"carousel_items":[{"index":0,"is_video":false,"thumbnail_url":"https://cdn.example.com/thumbnails/carousel_0.jpg"}]},"metrics":{"likes":4500,"comments":120,"views":15000,"shares":50,"engagement_rate":3.8},"hashtags":["fitness","workout","motivation"],"mentions":["nike","gymshark"],"location":{"name":"Los Angeles, California"}}],"has_more":true,"next_cursor":"eyJzb3J0IjoicmVjZW50IiwiaWQiOiIxMjNlNDU2Ny1lODliLTEyZDMtYTQ1Ni00MjY2MTQxNzQwMDAiLCJ2YWx1ZSI6IjIwMjYtMDctMDlUMTI6MDA6MDAuMDAwWiJ9"}}},"exampleType":"generated"}},"exampleType":"generated"},"791bf0d0-7a08-4809-b7a3-bba047139267":{"description":"Validation error response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["validation_error","invalid_parameter","missing_parameter","unauthorized","forbidden","payment_required","insufficient_credits","not_found","rate_limit_exceeded","quota_exceeded","internal_error","service_unavailable","upstream_contract_broken","database_error","seed_not_found","invalid_seeds","seed_resolution_failed","lookalike_failed","get_profiles_failed","post_analysis_failed","match_failed","scraping_failed","transcript_unavailable","transcript_not_available","transcription_limit_exceeded","transcription_unavailable"],"description":"Machine-readable error code","example":"validation_error","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Request validation failed","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"status_code":{"description":"HTTP status code repeated for clients that consume the error body","example":402,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"error.status_code","typeLabel":"integer"},"param":{"description":"Parameter that caused the error (if applicable)","example":"query","type":"string","uniqueKey":"error.param","typeLabel":"string"},"request_id":{"description":"Optional request ID for debugging. Read the X-Request-Id response header when absent.","example":"550e8400-e29b-41d4-a716-446655440000","type":"string","uniqueKey":"error.request_id","typeLabel":"string"},"details":{"description":"Structured error context (e.g., field-level validation issues)","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"description":"Validation error response","examples":[{"error":{"code":"validation_error","message":"Invalid value for parameter 'limit': must be between 1 and 100","param":"limit","request_id":"550e8400-e29b-41d4-a716-446655440000"}}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"validation_error","message":"Invalid value for parameter 'limit': must be between 1 and 100","param":"limit","request_id":"550e8400-e29b-41d4-a716-446655440000"}}}},"exampleType":"generated"}},"exampleType":"generated"},"56a75e26-9a72-45e8-aa23-2fd81d397fab":{"description":"Authentication error response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["validation_error","invalid_parameter","missing_parameter","unauthorized","forbidden","payment_required","insufficient_credits","not_found","rate_limit_exceeded","quota_exceeded","internal_error","service_unavailable","upstream_contract_broken","database_error","seed_not_found","invalid_seeds","seed_resolution_failed","lookalike_failed","get_profiles_failed","post_analysis_failed","match_failed","scraping_failed","transcript_unavailable","transcript_not_available","transcription_limit_exceeded","transcription_unavailable"],"description":"Machine-readable error code","example":"validation_error","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Request validation failed","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"status_code":{"description":"HTTP status code repeated for clients that consume the error body","example":402,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"error.status_code","typeLabel":"integer"},"param":{"description":"Parameter that caused the error (if applicable)","example":"query","type":"string","uniqueKey":"error.param","typeLabel":"string"},"request_id":{"description":"Optional request ID for debugging. Read the X-Request-Id response header when absent.","example":"550e8400-e29b-41d4-a716-446655440000","type":"string","uniqueKey":"error.request_id","typeLabel":"string"},"details":{"description":"Structured error context (e.g., field-level validation issues)","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"description":"Authentication error response","examples":[{"error":{"code":"unauthorized","message":"API key missing or invalid","request_id":"550e8400-e29b-41d4-a716-446655440000"}}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"API key missing or invalid","request_id":"550e8400-e29b-41d4-a716-446655440000"}}}},"exampleType":"generated"}},"exampleType":"generated"},"e17219b1-0c14-4e47-b224-b0751f0c9840":{"description":"Account billing requires attention, or available credits cannot cover this request.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Account billing requires attention, or available credits cannot cover this request.","required":["error"],"example":{"error":{"code":"payment_required","message":"Payment authentication is required.","status_code":402,"reason_code":"PAYMENT_ACTION_REQUIRED","next_step":"complete_authentication","request_id":"550e8400-e29b-41d4-a716-446655440000"}},"properties":{"error":{"type":"object","properties":{"code":{"type":"string","const":"payment_required","isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"string"},"status_code":{"type":"number","const":402,"isRequired":true,"uniqueKey":"oneOf.0.error.status_code","typeLabel":"number"},"reason_code":{"type":"string","enum":["BILLING_SUSPENDED","PAYMENT_FAILED","PAYMENT_ACTION_REQUIRED","DISPUTE_OPENED","NO_PAYMENT_METHOD","SUBSCRIPTION_REQUIRED","NO_BUNDLE_CONFIGURED","BUNDLE_EXHAUSTED"],"isRequired":true,"uniqueKey":"oneOf.0.error.reason_code","typeLabel":"enum\u003cstring>"},"next_step":{"type":"string","enum":["update_payment_method","complete_authentication","contact_support","add_payment_method","reconnect_connection","upgrade_plan"],"isRequired":true,"uniqueKey":"oneOf.0.error.next_step","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","uniqueKey":"oneOf.0.error.request_id","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"oneOf.0.error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"oneOf.0.error.details","typeLabel":"object"}},"required":["code","message","status_code","reason_code","next_step"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Account billing requires attention, or available credits cannot cover this request.","required":["error"],"example":{"error":{"code":"insufficient_credits","message":"Not enough credits remaining for this search. Add a payment method to continue.","details":{"remaining":10,"required":75,"add_payment_method":true}}},"properties":{"error":{"type":"object","properties":{"code":{"type":"string","const":"insufficient_credits","isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"string"},"status_code":{"type":"number","const":402,"uniqueKey":"oneOf.1.error.status_code","typeLabel":"number"},"request_id":{"type":"string","uniqueKey":"oneOf.1.error.request_id","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"oneOf.1.error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"oneOf.1.error.details","typeLabel":"object"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"payment_required","message":"Payment authentication is required.","status_code":402,"reason_code":"PAYMENT_ACTION_REQUIRED","next_step":"complete_authentication","request_id":"550e8400-e29b-41d4-a716-446655440000"}}}},"exampleType":"generated"}},"exampleType":"generated"},"41b878ab-bb04-4116-8e27-486960f6e106":{"description":"Permission error response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["validation_error","invalid_parameter","missing_parameter","unauthorized","forbidden","payment_required","insufficient_credits","not_found","rate_limit_exceeded","quota_exceeded","internal_error","service_unavailable","upstream_contract_broken","database_error","seed_not_found","invalid_seeds","seed_resolution_failed","lookalike_failed","get_profiles_failed","post_analysis_failed","match_failed","scraping_failed","transcript_unavailable","transcript_not_available","transcription_limit_exceeded","transcription_unavailable"],"description":"Machine-readable error code","example":"validation_error","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Request validation failed","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"status_code":{"description":"HTTP status code repeated for clients that consume the error body","example":402,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"error.status_code","typeLabel":"integer"},"param":{"description":"Parameter that caused the error (if applicable)","example":"query","type":"string","uniqueKey":"error.param","typeLabel":"string"},"request_id":{"description":"Optional request ID for debugging. Read the X-Request-Id response header when absent.","example":"550e8400-e29b-41d4-a716-446655440000","type":"string","uniqueKey":"error.request_id","typeLabel":"string"},"details":{"description":"Structured error context (e.g., field-level validation issues)","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"description":"Permission error response","examples":[{"error":{"code":"forbidden","message":"Your plan does not include access to this endpoint","request_id":"550e8400-e29b-41d4-a716-446655440000"}}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"forbidden","message":"Your plan does not include access to this endpoint","request_id":"550e8400-e29b-41d4-a716-446655440000"}}}},"exampleType":"generated"}},"exampleType":"generated"},"3550b4c4-f2f9-49f8-afa5-389f186ed06d":{"description":"Not found error response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["validation_error","invalid_parameter","missing_parameter","unauthorized","forbidden","payment_required","insufficient_credits","not_found","rate_limit_exceeded","quota_exceeded","internal_error","service_unavailable","upstream_contract_broken","database_error","seed_not_found","invalid_seeds","seed_resolution_failed","lookalike_failed","get_profiles_failed","post_analysis_failed","match_failed","scraping_failed","transcript_unavailable","transcript_not_available","transcription_limit_exceeded","transcription_unavailable"],"description":"Machine-readable error code","example":"validation_error","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Request validation failed","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"status_code":{"description":"HTTP status code repeated for clients that consume the error body","example":402,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"error.status_code","typeLabel":"integer"},"param":{"description":"Parameter that caused the error (if applicable)","example":"query","type":"string","uniqueKey":"error.param","typeLabel":"string"},"request_id":{"description":"Optional request ID for debugging. Read the X-Request-Id response header when absent.","example":"550e8400-e29b-41d4-a716-446655440000","type":"string","uniqueKey":"error.request_id","typeLabel":"string"},"details":{"description":"Structured error context (e.g., field-level validation issues)","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"description":"Not found error response","examples":[{"error":{"code":"not_found","message":"Creator with ID '123e4567-e89b-12d3-a456-426614174000' not found","request_id":"550e8400-e29b-41d4-a716-446655440000"}}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"not_found","message":"Creator with ID '123e4567-e89b-12d3-a456-426614174000' not found","request_id":"550e8400-e29b-41d4-a716-446655440000"}}}},"exampleType":"generated"}},"exampleType":"generated"},"b90f85c1-93f9-40db-9b6d-74818a4191e9":{"description":"Rate limit exceeded response. Check Retry-After header for backoff timing. Also returned (without RateLimit-* headers) when an IP is temporarily blocked after repeated failed authentication attempts.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["validation_error","invalid_parameter","missing_parameter","unauthorized","forbidden","payment_required","insufficient_credits","not_found","rate_limit_exceeded","quota_exceeded","internal_error","service_unavailable","upstream_contract_broken","database_error","seed_not_found","invalid_seeds","seed_resolution_failed","lookalike_failed","get_profiles_failed","post_analysis_failed","match_failed","scraping_failed","transcript_unavailable","transcript_not_available","transcription_limit_exceeded","transcription_unavailable"],"description":"Machine-readable error code","example":"validation_error","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Request validation failed","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"status_code":{"description":"HTTP status code repeated for clients that consume the error body","example":402,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"error.status_code","typeLabel":"integer"},"param":{"description":"Parameter that caused the error (if applicable)","example":"query","type":"string","uniqueKey":"error.param","typeLabel":"string"},"request_id":{"description":"Optional request ID for debugging. Read the X-Request-Id response header when absent.","example":"550e8400-e29b-41d4-a716-446655440000","type":"string","uniqueKey":"error.request_id","typeLabel":"string"},"details":{"description":"Structured error context (e.g., field-level validation issues)","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"description":"Rate limit exceeded response. Check Retry-After header for backoff timing. Also returned (without RateLimit-* headers) when an IP is temporarily blocked after repeated failed authentication attempts.","examples":[{"error":{"code":"rate_limit_exceeded","message":"Rate limit exceeded (per minute)","request_id":"550e8400-e29b-41d4-a716-446655440000"}},{"error":{"code":"rate_limit_exceeded","message":"Rate limit exceeded (per hour)","request_id":"550e8400-e29b-41d4-a716-446655440001"}},{"error":{"code":"rate_limit_exceeded","message":"Too many failed authentication attempts. Please try again later.","request_id":"550e8400-e29b-41d4-a716-446655440002"}}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"rate_limit_exceeded","message":"Rate limit exceeded (per minute)","request_id":"550e8400-e29b-41d4-a716-446655440000"}}}},"exampleType":"generated"}},"exampleType":"generated"},"d9626f7a-030e-4857-8b21-5902ecf079d7":{"description":"Internal server error response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["validation_error","invalid_parameter","missing_parameter","unauthorized","forbidden","payment_required","insufficient_credits","not_found","rate_limit_exceeded","quota_exceeded","internal_error","service_unavailable","upstream_contract_broken","database_error","seed_not_found","invalid_seeds","seed_resolution_failed","lookalike_failed","get_profiles_failed","post_analysis_failed","match_failed","scraping_failed","transcript_unavailable","transcript_not_available","transcription_limit_exceeded","transcription_unavailable"],"description":"Machine-readable error code","example":"validation_error","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Request validation failed","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"status_code":{"description":"HTTP status code repeated for clients that consume the error body","example":402,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"error.status_code","typeLabel":"integer"},"param":{"description":"Parameter that caused the error (if applicable)","example":"query","type":"string","uniqueKey":"error.param","typeLabel":"string"},"request_id":{"description":"Optional request ID for debugging. Read the X-Request-Id response header when absent.","example":"550e8400-e29b-41d4-a716-446655440000","type":"string","uniqueKey":"error.request_id","typeLabel":"string"},"details":{"description":"Structured error context (e.g., field-level validation issues)","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"description":"Internal server error response","examples":[{"error":{"code":"internal_error","message":"An unexpected error occurred. Please try again later.","request_id":"550e8400-e29b-41d4-a716-446655440000"}}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"internal_error","message":"An unexpected error occurred. Please try again later.","request_id":"550e8400-e29b-41d4-a716-446655440000"}}}},"exampleType":"generated"}},"exampleType":"generated"},"7736ee7e-ac58-4d87-af10-3a251f6cc046":{"description":"Service temporarily unavailable. Check Retry-After when present and retry with bounded backoff.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["validation_error","invalid_parameter","missing_parameter","unauthorized","forbidden","payment_required","insufficient_credits","not_found","rate_limit_exceeded","quota_exceeded","internal_error","service_unavailable","upstream_contract_broken","database_error","seed_not_found","invalid_seeds","seed_resolution_failed","lookalike_failed","get_profiles_failed","post_analysis_failed","match_failed","scraping_failed","transcript_unavailable","transcript_not_available","transcription_limit_exceeded","transcription_unavailable"],"description":"Machine-readable error code","example":"validation_error","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Request validation failed","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"status_code":{"description":"HTTP status code repeated for clients that consume the error body","example":402,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"error.status_code","typeLabel":"integer"},"param":{"description":"Parameter that caused the error (if applicable)","example":"query","type":"string","uniqueKey":"error.param","typeLabel":"string"},"request_id":{"description":"Optional request ID for debugging. Read the X-Request-Id response header when absent.","example":"550e8400-e29b-41d4-a716-446655440000","type":"string","uniqueKey":"error.request_id","typeLabel":"string"},"details":{"description":"Structured error context (e.g., field-level validation issues)","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"description":"Service temporarily unavailable. Check Retry-After when present and retry with bounded backoff.","examples":[{"error":{"code":"service_unavailable","message":"Live Instagram data is temporarily unavailable. Please retry shortly.","request_id":"550e8400-e29b-41d4-a716-446655440000","details":{"retry_after_seconds":60,"upstream_error":"upstream_rate_limited"}}}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"service_unavailable","message":"Live Instagram data is temporarily unavailable. Please retry shortly.","request_id":"550e8400-e29b-41d4-a716-446655440000","details":{"retry_after_seconds":60,"upstream_error":"upstream_rate_limited"}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"997fc587-8c50-49a8-9255-2fda03275ee3":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"cb411e4f-c34e-4d5a-9543-e1ad828aa243":{"url":"https://api.influship.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi/openapi.documented.yml"},"subdomain":"influship","siteName":"Influship API","title":"Get Posts - Influship API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-07T17:37:56.514Z","originalFileLocation":"api-reference/posts/get-posts.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve Instagram posts for a creator or profile with engagement metrics and media data. Only Instagram posts are returned. Query options: - By creator: Use creator_id to get posts across all of their Instagram profiles. Creators without an Instagram profile return an empty page - By profile: Use platform + username for a specific profile\u0026#x27;s posts. Usernames are matched case-insensitively Sort options: - recent: Most recent posts first (default) - top_engagement: Highest view-based engagement rate first, calculated as (likes + comments) / views. Posts without measurable views sort last - most_likes: Most likes first - most_views: Most views first (video content) - most_comments: Most comments first Pagination uses an opaque keyset cursor. Pass next_cursor back with the same sort value; cursors cannot be reused across sort orders. Also callable as the get_posts MCP tool — see the MCP server guide for setup. Pricing: 0.05 credits per post returned ($0.0005)\">\u003cmeta data-mint-head name=\"application-name\" content=\"Influship API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/influship/woEId0-qTsViHQD5/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/influship/woEId0-qTsViHQD5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/influship/woEId0-qTsViHQD5/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/influship/woEId0-qTsViHQD5/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/influship/woEId0-qTsViHQD5/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/influship/woEId0-qTsViHQD5/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/influship/woEId0-qTsViHQD5/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/influship/woEId0-qTsViHQD5/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/influship/woEId0-qTsViHQD5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Posts - Influship API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve Instagram posts for a creator or profile with engagement metrics and media data. Only Instagram posts are returned. Query options: - By creator: Use creator_id to get posts across all of their Instagram profiles. Creators without an Instagram profile return an empty page - By profile: Use platform + username for a specific profile\u0026#x27;s posts. Usernames are matched case-insensitively Sort options: - recent: Most recent posts first (default) - top_engagement: Highest view-based engagement rate first, calculated as (likes + comments) / views. Posts without measurable views sort last - most_likes: Most likes first - most_views: Most views first (video content) - most_comments: Most comments first Pagination uses an opaque keyset cursor. Pass next_cursor back with the same sort value; cursors cannot be reused across sort orders. Also callable as the get_posts MCP tool — see the MCP server guide for setup. Pricing: 0.05 credits per post returned ($0.0005)\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Influship API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.influship.com/api-reference/posts/get-posts\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://influship.mintlify.site/_mintlify/api/og/v2?division=Posts\u0026amp;title=Get+Posts\u0026amp;description=Retrieve+Instagram+posts+for+a+creator+or+profile+with+engagement+metrics+and+media+data.+Only+Instagram+posts+are+returned.%0A%0A**Query+options%3A**%0A-+By+creator%3A+U\u0026amp;theme=4b9ee668ebb75bd682dbc904\u0026amp;signature=b66cff68d8b13562e1a8c9b27364e709fdc06719e3d2688441d0d83fc8d8d2b9\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Posts - Influship API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve Instagram posts for a creator or profile with engagement metrics and media data. Only Instagram posts are returned. Query options: - By creator: Use creator_id to get posts across all of their Instagram profiles. Creators without an Instagram profile return an empty page - By profile: Use platform + username for a specific profile\u0026#x27;s posts. Usernames are matched case-insensitively Sort options: - recent: Most recent posts first (default) - top_engagement: Highest view-based engagement rate first, calculated as (likes + comments) / views. Posts without measurable views sort last - most_likes: Most likes first - most_views: Most views first (video content) - most_comments: Most comments first Pagination uses an opaque keyset cursor. Pass next_cursor back with the same sort value; cursors cannot be reused across sort orders. Also callable as the get_posts MCP tool — see the MCP server guide for setup. Pricing: 0.05 credits per post returned ($0.0005)\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://influship.mintlify.site/_mintlify/api/og/v2?division=Posts\u0026amp;title=Get+Posts\u0026amp;description=Retrieve+Instagram+posts+for+a+creator+or+profile+with+engagement+metrics+and+media+data.+Only+Instagram+posts+are+returned.%0A%0A**Query+options%3A**%0A-+By+creator%3A+U\u0026amp;theme=4b9ee668ebb75bd682dbc904\u0026amp;signature=b66cff68d8b13562e1a8c9b27364e709fdc06719e3d2688441d0d83fc8d8d2b9\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/influship/woEId0-qTsViHQD5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Influship API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.influship.com/api-reference/posts/get-posts\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/posts/get-posts.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.influship.com/#organization\",\"name\":\"Influship API\",\"url\":\"https://docs.influship.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/influship/NugDxR264lVrW5Cv/logo/light.svg?fit=max\u0026auto=format\u0026n=NugDxR264lVrW5Cv\u0026q=85\u0026s=68ca499d9d7f4049e572f9eea4e5dd24\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.influship.com#website\",\"name\":\"Influship API\",\"url\":\"https://docs.influship.com\",\"publisher\":{\"@id\":\"https://docs.influship.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.influship.com/api-reference/posts/get-posts#webpage\",\"url\":\"https://docs.influship.com/api-reference/posts/get-posts\",\"name\":\"Get Posts\",\"description\":\"Retrieve Instagram posts for a creator or profile with engagement metrics and media data. Only Instagram posts are returned. Query options: - By creator: Use creator_id to get posts across all of their Instagram profiles. Creators without an Instagram profile return an empty page - By profile: Use platform + username for a specific profile's posts. Usernames are matched case-insensitively Sort options: - recent: Most recent posts first (default) - top_engagement: Highest view-based engagement rate first, calculated as (likes + comments) / views. Posts without measurable views sort last - most_likes: Most likes first - most_views: Most views first (video content) - most_comments: Most comments first Pagination uses an opaque keyset cursor. Pass next_cursor back with the same sort value; cursors cannot be reused across sort orders. Also callable as the get_posts MCP tool — see the MCP server guide for setup. Pricing: 0.05 credits per post returned ($0.0005)\",\"dateModified\":\"2026-10-07T17:37:56.514Z\",\"isPartOf\":{\"@id\":\"https://docs.influship.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.influship.com/api-reference/posts/get-posts#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.influship.com/api-reference/posts/get-posts#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.influship.com/api-reference/search/ai-powered-creator-search\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Posts\",\"item\":\"https://docs.influship.com/api-reference/posts/get-posts\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.influship.com/api-reference/posts/get-posts#apireference\",\"headline\":\"Get Posts\",\"name\":\"Get Posts\",\"description\":\"Retrieve Instagram posts for a creator or profile with engagement metrics and media data. Only Instagram posts are returned. Query options: - By creator: Use creator_id to get posts across all of their Instagram profiles. Creators without an Instagram profile return an empty page - By profile: Use platform + username for a specific profile's posts. Usernames are matched case-insensitively Sort options: - recent: Most recent posts first (default) - top_engagement: Highest view-based engagement rate first, calculated as (likes + comments) / views. Posts without measurable views sort last - most_likes: Most likes first - most_views: Most views first (video content) - most_comments: Most comments first Pagination uses an opaque keyset cursor. Pass next_cursor back with the same sort value; cursors cannot be reused across sort orders. Also callable as the get_posts MCP tool — see the MCP server guide for setup. Pricing: 0.05 credits per post returned ($0.0005)\",\"url\":\"https://docs.influship.com/api-reference/posts/get-posts\",\"mainEntityOfPage\":{\"@id\":\"https://docs.influship.com/api-reference/posts/get-posts#webpage\"},\"dateModified\":\"2026-10-07T17:37:56.514Z\",\"publisher\":{\"@id\":\"https://docs.influship.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.influship.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Influship API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Influship API","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"chart-bar","href":"https://developers.influship.com"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","href":"/api-reference"}]},{"group":"Endpoints","pages":[{"group":"Search","pages":[{"title":"AI-Powered Creator Search","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml post /v1/search","href":"/api-reference/search/ai-powered-creator-search"},{"title":"Get Search Results Page","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/search/{id}","href":"/api-reference/search/get-search-results-page"},{"title":"Submit search feedback","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml post /v1/search/{id}/feedback","href":"/api-reference/search/submit-search-feedback"}]},{"group":"Creators","pages":[{"title":"Autocomplete Search","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/creators/autocomplete","href":"/api-reference/creators/autocomplete-search"},{"title":"Ingest a Creator On Demand","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml post /v1/creators/ingest","href":"/api-reference/creators/ingest-a-creator-on-demand"},{"title":"Get Creator by ID","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/creators/{id}","href":"/api-reference/creators/get-creator-by-id"},{"title":"Find Similar Creators","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml post /v1/creators/lookalike","href":"/api-reference/creators/find-similar-creators"},{"title":"Score Campaign Fit","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml post /v1/creators/match","href":"/api-reference/creators/score-campaign-fit"}]},{"group":"Profiles","pages":[{"title":"Get Profile by Platform and Username","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/profiles/{platform}/{username}","href":"/api-reference/profiles/get-profile-by-platform-and-username"},{"title":"Batch Lookup Profiles","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml post /v1/profiles/lookup","href":"/api-reference/profiles/batch-lookup-profiles"}]},{"group":"Creator Emails","pages":[{"title":"Lookup Creator Emails","description":"Look up known email addresses for creators by creator ID or social username.\n\n**Billing behavior:**\n- Charged only for unique resolved creators with at least one returned email\n- Empty and unresolved results are not billable\n- Returns validation status so unvalidated emails are explicit\n\n**Pricing**: 5 credits per creator with at least one returned email ($0.05)","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml post /v1/creator-emails/lookup","href":"/api-reference/creator-emails/lookup-creator-emails"}]},{"group":"Posts","pages":[{"title":"Get Posts","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/posts","href":"/api-reference/posts/get-posts"}]},{"group":"Shortlists","pages":[{"title":"Save or update your creator shortlist","description":"Save up to eight Instagram profiles with a campaign brief and notes. Updating requires the current saved version. Reopen the selected profiles to retrieve their latest stored metrics and evidence.","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml post /v1/shortlists","href":"/api-reference/shortlists/save-or-update-your-creator-shortlist"},{"title":"List your saved creator shortlists","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/shortlists","href":"/api-reference/shortlists/list-your-saved-creator-shortlists"},{"title":"Open your saved creator shortlist","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/shortlists/{id}","href":"/api-reference/shortlists/open-your-saved-creator-shortlist"},{"title":"Delete your saved creator shortlist","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml post /v1/shortlists/{id}/delete","href":"/api-reference/shortlists/delete-your-saved-creator-shortlist"}]},{"group":"Live Scraping","pages":[{"title":"Get Live Instagram Profile","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/instagram/profile/{username}","href":"/api-reference/live-scraping/get-live-instagram-profile"},{"title":"Get Live Instagram Post","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/instagram/post/{shortcode}","href":"/api-reference/live-scraping/get-live-instagram-post"},{"title":"Get Live Instagram Posts","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml post /v1/raw/instagram/posts","href":"/api-reference/live-scraping/get-live-instagram-posts"},{"title":"Get Instagram Post Transcript","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/instagram/transcript/{shortcode}","href":"/api-reference/live-scraping/get-instagram-post-transcript"},{"title":"Get Instagram Post Transcripts","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml post /v1/raw/instagram/transcripts","href":"/api-reference/live-scraping/get-instagram-post-transcripts"},{"title":"Get Live YouTube Channel","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/youtube/channel/{handle}","href":"/api-reference/live-scraping/get-live-youtube-channel"},{"title":"Get YouTube Video Details","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/youtube/video/{video_id}","href":"/api-reference/live-scraping/get-youtube-video-details"},{"title":"Get YouTube Video Transcript","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/youtube/transcript/{video_id}","href":"/api-reference/live-scraping/get-youtube-video-transcript"},{"title":"Get YouTube Channel Transcripts","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/youtube/channel-transcripts/{handle}","href":"/api-reference/live-scraping/get-youtube-channel-transcripts"},{"title":"Search YouTube","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/youtube/search","href":"/api-reference/live-scraping/search-youtube"},{"title":"Get YouTube Search Suggestions","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/youtube/typeahead","href":"/api-reference/live-scraping/get-youtube-search-suggestions"},{"title":"Get TikTok Videos in a Batch","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml post /v1/raw/tiktok/videos","href":"/api-reference/live-scraping/get-tiktok-videos-in-a-batch"},{"title":"Get TikTok Transcripts in a Batch","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml post /v1/raw/tiktok/video/transcripts","href":"/api-reference/live-scraping/get-tiktok-transcripts-in-a-batch"},{"title":"Get Live TikTok Profile","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/tiktok/profile/{username}","href":"/api-reference/live-scraping/get-live-tiktok-profile"},{"title":"List Live TikTok Profile Videos","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/tiktok/profile/{username}/videos","href":"/api-reference/live-scraping/list-live-tiktok-profile-videos"},{"title":"Get Live TikTok Video","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/tiktok/video","href":"/api-reference/live-scraping/get-live-tiktok-video"},{"title":"List Live TikTok Video Comments","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/tiktok/video/comments","href":"/api-reference/live-scraping/list-live-tiktok-video-comments"},{"title":"List Live TikTok Comment Replies","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/tiktok/video/comment/replies","href":"/api-reference/live-scraping/list-live-tiktok-comment-replies"},{"title":"Get TikTok Video Captions","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/tiktok/video/captions","href":"/api-reference/live-scraping/get-tiktok-video-captions"},{"title":"Get TikTok Sound Details","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/tiktok/music","href":"/api-reference/live-scraping/get-tiktok-sound-details"},{"title":"Search TikTok Users","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/tiktok/search/users","href":"/api-reference/live-scraping/search-tiktok-users"},{"title":"Search TikTok Videos","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/tiktok/search/videos","href":"/api-reference/live-scraping/search-tiktok-videos"},{"title":"Get TikTok Hashtag Videos","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/tiktok/hashtag/videos","href":"/api-reference/live-scraping/get-tiktok-hashtag-videos"},{"title":"Get TikTok Music Videos","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/tiktok/music/videos","href":"/api-reference/live-scraping/get-tiktok-music-videos"},{"title":"Get TikTok Video Transcript","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /v1/raw/tiktok/video/transcript","href":"/api-reference/live-scraping/get-tiktok-video-transcript"}]},{"group":"OAuth","pages":[{"title":"Get OAuth Protected Resource Metadata","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /.well-known/oauth-protected-resource","href":"/api-reference/oauth/get-oauth-protected-resource-metadata"}]},{"group":"Health","pages":[{"title":"Health Check","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /health","href":"/api-reference/health/health-check"},{"title":"Check service dependency readiness","deprecated":null,"version":null,"openapi":"/openapi/openapi.documented.yml get /ready","href":"/api-reference/check-service-dependency-readiness"}]}]}]}]},"basePath":"","title":"Get Posts - Influship API","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}