SDKs
The TypeScript SDK is generated from the OpenAPI spec by Stainless. 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.
Error Handling
The SDK exports typed error classes so you can handle failures precisely.Python
There is no official Python SDK yet. Use the REST API directly withrequests or httpx.