SDKs
The TypeScript SDK is auto-generated from the OpenAPI spec. It gives you typed methods, request/response models, and automatic error classes — so you spend less time reading docs and more time building.TypeScript / JavaScript
Installation
- npm
- yarn
- pnpm
- bun
Client Setup
INFLUSHIP_API_KEY is set in your environment, you can skip the config object entirely:
Common Operations
Search
Search accepts a natural language query and returns ranked creators. Describe the kind of creator you need — the API handles the matching.Lookalike
Find creators similar to ones you already know. You can weight seeds to influence which traits matter more in the results.Campaign Match
Score how well specific creators fit a campaign brief. Each result includes a decision (strong fit, moderate fit, or weak fit) and a numeric score.Profile Lookup
Retrieve a single creator profile by platform and username.Batch Lookup
Look up multiple profiles in a single request. This is more efficient than callingprofiles.get in a loop — one request, one billing event.
Creator Email Lookup
Fetch known email addresses for creators. Identify each creator by Influshipcreator_id or by platform + username — you can mix both in one request. Response rows preserve the input order.
unvalidated, so check each status before treating an address as deliverable. You’re charged only for resolved creators that return at least one email.
Error Handling
The SDK exports typed error classes so you can handle failures precisely.429 rate_limit_exceeded means your API key hit its account-level quota. 503 service_unavailable on live data endpoints means a temporary upstream/platform issue; retry it with backoff and use Retry-After when present.
See Error Handling for the full error reference.
Python
There is no official Python SDK yet. Use the REST API directly withrequests or httpx.