| title | Quickstart |
|---|---|
| description | Get up and running with the Influship API in under 5 minutes |
Get started with the Influship API and make your first successful request in minutes. This guide walks you through the essentials to start finding influencers.
- An API key from elliot@influship.com
- A tool to make HTTP requests (curl, Postman, or code)
Test your connection with a health check (no authentication required):
```bash cURL curl https://api.influship.com/health ``` ```json Success Response { "ok": true, "timestamp": "2024-01-15T10:30:00.000Z" } ```Verify your API key works correctly:
```bash cURL curl -X POST https://api.influship.com/v1/search \ -H 'X-API-Key: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{"query": "test", "limit": 1}' ``` ✅ If you get results, your API key is working! If you get a 401 error, double-check your API key.Now let's use the AI-powered search to find creators:
```bash cURL curl -X POST https://api.influship.com/v1/search \ -H 'X-API-Key: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "query": "fitness creators with high engagement who post about healthy living", "limit": 5 }' ``` ```json Search Results { "items": [ { "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Sarah Johnson", "avatar_url": "https://example.com/avatar.jpg", "bio": "Fitness coach and wellness advocate", "profiles": [ { "id": "prof_123abc", "platform": "instagram", "username": "sarahfitness", "follower_count": 125000, "engagement_rate": 4.5, "verified": true } ], "ai_recommendation": { "score": 0.92, "explanation": "Strong fitness focus with authentic engagement on health topics" } } ], "filtered_total": 247, "has_more": true, "next_cursor": "eyJpZCI6NX0=" } ``` 🎉 **Success!** You just discovered influencers using AI. Notice how the API explains *why* each creator matches your query.Enrich creators with full profile data:
```bash cURL curl -X POST https://api.influship.com/v1/creators \ -H 'X-API-Key: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "creator_ids": ["550e8400-e29b-41d4-a716-446655440000"], "mode": "detailed", "include_profiles": true, "profile_mode": "detailed" }' ``` ```json Creator Details { "creators": [ { "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Sarah Johnson", "avatar_url": "https://example.com/avatar.jpg", "bio": "Fitness coach and wellness advocate", "profiles": [ { "id": "prof_123abc", "platform": "instagram", "username": "sarahfitness", "follower_count": 125000, "engagement_rate": 4.5, "verified": true, "avg_likes": 5625, "avg_comments": 312, "posts_per_week": 4.2, "avatar_url": "https://instagram.com/avatar.jpg", "external_url": "https://sarahfitness.com" } ] } ], "next_cursor": null, "has_more": false } ```Every request includes billing information in response headers:
X-Credits-Charged: 2.5
X-Credits-Features: search,detailed
X-Billing-Plan: free
RateLimit-Remaining: 997- Search: 2.0 credits per creator + 0.05 credits per social account (detailed mode)
- Example: 5 creators with detailed profiles = 10 + 2.5 = 12.5 credits