API Reference
Comprehensive documentation for the Influship API. Build powerful influencer marketing applications with our AI-powered search, analysis, and matching capabilities.Base URL
All API requests are made to:Authentication
All endpoints (except/health) require an API key passed in the X-API-Key header:
Pagination
Endpoints returning lists use cursor-based pagination for efficient data traversal:How It Works
- Request with limit - Set how many results you want per page (default: 25, max: 100)
- Check
has_more- Response indicates if more results exist - Use
next_cursor- Pass this value ascursorparameter for the next page - Track total - Use
filtered_totalto show total matching results
Cursors are opaque - They’re base64-encoded strings containing pagination state. Never try to construct or decode them manually. Always use the exact
next_cursor value from the previous response.Pagination Fields
Number of results per page. Min: 1, Max: 100
Opaque pagination cursor from previous response’s
next_cursorTotal matching results before pagination. Use this to show “25 of 1,247 results”
Whether additional pages exist. If
true, use next_cursor to fetch moreResponse Format
Success Response
All successful responses follow this structure:Error Response
All errors include a structured error object with actionable details:Common Error Codes
Common Error Codes
validation_error- Request validation failed (400)unauthorized- Invalid or missing API key (401)not_found- Resource not found (404)rate_limit_exceeded- Too many requests (429)internal_error- Server error (500)
Endpoint-Specific Errors
Endpoint-Specific Errors
seed_not_found- Lookalike seed creator not found (404)invalid_seeds- Invalid seed data provided (400)brand_safety_failed- Brand safety analysis failed (500)post_analysis_failed- Post analysis failed (500)
Response Headers
Every API response includes metadata headers for tracking usage and limits:Billing & Usage Headers
Unique identifier for this request. Include in support tickets for faster troubleshooting.Example:
req_8a7b9c0d1e2f3g4hExact number of credits consumed by this requestExample:
4.15Comma-separated list of features that impacted billingExample:
detailed_mode,ai_analysisYour current billing plan identifierExample:
proRate Limit Headers
Maximum requests allowed in the current time windowExample:
10000Requests remaining in current windowExample:
9995Unix timestamp (seconds) when rate limit resetsExample:
1704124800Credits & Billing
The Influship API uses a flexible credit-based system that scales with your usage.Pricing Models
Search & Discovery
Creator Search: 2.0 credits per creatorLookalike: 1.0 credit per creatorDetailed mode: +0.05 per social accountExample: 10 creators in detailed mode with 3 profiles each = 20 + (10 × 3 × 0.05) = 21.5 credits
Creator Data
Creator Profiles: 0.1 credits per creatorProfile Lookup: 0.01-0.05 credits (lite/detailed)Autocomplete: 0.001 credits per request
Content Analysis
Post Analysis: 1.0 credit per postAI Analysis: +0.5 credits per postBrand Safety: +0.5 credits per postExample: 1 post with both features = 1.0 + 0.5 + 0.5 = 2.0 credits
Brand Safety & Matching
Creator Analysis: 2.0 credits per creatorProfile Analysis: 2.0 credits per profilePost Analysis: 0.5 credits per postCreator Matching: 0.1 credits per creator
Common Patterns
Understanding these workflows helps you build efficient integrations.1. Discovery → Enrichment Flow
1
Lookup by Username
Call
/v1/profiles with username + platformResult: Social account data + creator_profile_id2
Get All Accounts
Use
creator_profile_id with /v1/creators/{id}/profilesResult: All social accounts for that creator3
Get Creator Info
Use
creator_profile_id with /v1/creatorsResult: Person-level data (name, bio, avatar)2. Search → Analysis Flow
1
Search
Use
/v1/search with natural language queryResult: Matching creators with AI recommendations2
Analyze
Use returned creator IDs with brand safety or match endpointsResult: Suitability scores and risk assessment
3
Deep Dive
Get posts via
/v1/posts/by-creator for content analysisResult: Detailed post data with optional AI features3. Lookalike Discovery
1
Identify Seeds
Choose 1-10 seed creators (by ID or username+platform)Add optional weights (0-10) to prioritize certain seeds
2
Set Filters
Define audience size, engagement rate, platforms, verificationFilter results to match your campaign criteria
3
Get Results
API returns similar creators ranked by AI similarity scoreEach result includes explanation of why they’re similar
Platform Support
All endpoints support Instagram with complete feature coverage
Available on most endpoints - check endpoint-specific documentation
Additional platforms in development
Data Concepts
Creator vs Profile Data
Understanding the difference is key to using the API effectively:Creator Data
Person-level information
- Name, bio, avatar
- Cross-platform identity
- Aggregated information
/v1/creatorsProfile Data
Platform-specific metrics
- Follower counts, engagement
- Verified status
- Platform username & handle
/v1/profiles, /v1/creators/{id}/profilesResponse Modes
Control the level of detail in API responses:lite - Basic fields only (faster, cheaper)detailed - Extended metrics and analytics (+0.05 credits per social account)Lite Mode Fields
Lite Mode Fields
- Basic profile info (username, display name, bio)
- Follower count, engagement rate
- Verification status
- Avatar and external URLs
Detailed Mode Additional Fields
Detailed Mode Additional Fields
- Average comments & video views
- Monthly follower growth rate
- Platform category
- Following count, media count
- Highlight reel count (Instagram)
Rate Limits
Rate limits ensure fair usage and system stability:By Plan
- Free: 1,000 requests/hour
- Pro: 10,000 requests/hour
- Enterprise: Custom limits (50,000+)
All responses include
RateLimit-* headers. Monitor these to avoid hitting limits. See our Rate Limits Guide for handling strategies.HTTP Status Codes
Request successful, response contains requested data
Invalid request parameters or validation failed
Missing or invalid API key
Requested resource doesn’t exist
Too many requests - check
Retry-After headerServer error - contact support with
X-Request-IdAPI Endpoints
Search Creators
POST /v1/searchAI-powered influencer discovery with natural language queriesAutocomplete
GET /v1/creators/autocompleteReal-time search suggestions for creator discoveryGet Creators
GET /v1/creatorsRetrieve creator profiles by ID with optional social accountsGet Profiles
POST /v1/profilesLook up social accounts by username and platformCreator's Profiles
GET /v1/creators/{id}/profilesGet all social accounts for a specific creatorLookalike Discovery
POST /v1/lookalikeFind similar creators using AI-powered analysisAnalyze Post
POST /v1/posts/analyzeAnalyze individual posts with AI insightsPosts by Creator
GET /v1/posts/by-creatorRetrieve posts from a creator’s accountMatch Creators
POST /v1/matchMatch creators to campaign requirementsBrand Safety - Creators
POST /v1/brand-safety/creatorsAnalyze creators for brand safety risksBrand Safety - Profiles
POST /v1/brand-safety/profilesAnalyze social profiles for brand risksBrand Safety - Posts
POST /v1/brand-safety/postsAnalyze posts for brand safety concernsQuick Start
Best Practices
Use Lite Mode First
Start with
mode: "lite" for exploration, upgrade to detailed only when you need extended metricsBatch Requests
Use batch endpoints (e.g.,
/v1/creators?creator_ids=id1,id2,id3) to reduce API callsImplement Caching
Cache frequently accessed data to minimize costs and improve performance
Monitor Headers
Track rate limit and billing headers to optimize usage and avoid surprises
Handle Errors Gracefully
Implement exponential backoff for 429 errors and proper error handling for all status codes
Use Filters
Apply search filters to reduce result sets and save on credits