Call it
curl https://api.peume.com/v1/call/find-instagram-tiktok-youtube-influencers-by-niche-and-size \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"return_filter_values": false,
"platform": "instagram",
"paging": {
"limit": 10,
"page": 0
},
"filters": {
"keywords_in_bio": [
"astronomy"
],
"number_of_followers": {
"min": 100000
}
},
"nlp_search": "astronomy and space creators with over 100k followers",
"sort": {
"sort_by": "number_of_followers",
"sort_order": "desc"
}
}
}'const res = await fetch("https://api.peume.com/v1/call/find-instagram-tiktok-youtube-influencers-by-niche-and-size", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"return_filter_values": false,
"platform": "instagram",
"paging": {
"limit": 10,
"page": 0
},
"filters": {
"keywords_in_bio": [
"astronomy"
],
"number_of_followers": {
"min": 100000
}
},
"nlp_search": "astronomy and space creators with over 100k followers",
"sort": {
"sort_by": "number_of_followers",
"sort_order": "desc"
}
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/find-instagram-tiktok-youtube-influencers-by-niche-and-size",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"return_filter_values": False,
"platform": "instagram",
"paging": {
"limit": 10,
"page": 0
},
"filters": {
"keywords_in_bio": [
"astronomy"
],
"number_of_followers": {
"min": 100000
}
},
"nlp_search": "astronomy and space creators with over 100k followers",
"sort": {
"sort_by": "number_of_followers",
"sort_order": "desc"
}
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: find-instagram-tiktok-youtube-influencers-by-niche-and-size.
Parameters
return_filter_valuesbooleanPREMIUM: adds a matched_filters object per creator showing which of your filter values it matched
Example: false
platformRequiredstringone of instagram | youtube | tiktok | twitter | twitch | onlyfans — the filter set changes with it
Example: instagram
pagingRequiredobject{limit, page}; page is 0-indexed. THIS IS THE PRICE DIAL — billed per creator returned
Example: {"limit":10,"page":0}
filtersRequiredobjectplatform-specific filter object (send {} to rely on nlp_search alone). Instagram keys include location, profile_language, keywords_in_bio, hashtags, keywords_in_captions, number_of_followers {min,max}, engagement_percent {min,max}, average_likes, follower_growth, last_post, is_verified, brands, audience {age, gender, location, interests}, has_done_brand_deals, promotes_affiliate_links, exclude_handles, exclude_list. TRAPS learned live (2026-08-27): `location` is COUNTRY-level and must be a dictionary value (["Brazil"]) — a city string ('Belo Horizonte, MG') is accepted and silently matches not
Example: {"keywords_in_bio":["astronomy"],"number_of_followers":{"min":100000}}
nlp_searchstringa plain-language brief ('fitness creators in New York with over 100k followers') that the API maps onto filters; combinable with explicit filters. The response adds applied_filters and an nlp_search block explaining what was inferred or dropped. An uninterpretable brief 400s and costs nothing. It DROPS constraints it cannot map (a 'Brazilian hair-loss creators' brief came back without the country or topic) — put every hard limit in `filters` and use nlp_search only for the soft part
Example: astronomy and space creators with over 100k followers
sortobject{sort_by: relevancy | engagement_rate | number_of_followers | growth_rate, sort_order: asc | desc}
Example: {"sort_by":"number_of_followers","sort_order":"desc"}
Other ways to do it
Same job, other sources, cheapest first.
