Call it
curl https://api.peume.com/v1/call/instagram-accounts-named-on-creator-directory-pages \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": "specialty coffee Melbourne Instagram influencers",
"numResults": 10,
"contents": {
"highlights": {
"query": "specialty coffee Melbourne Instagram influencers",
"maxCharacters": 2000
}
}
}
}'const res = await fetch("https://api.peume.com/v1/call/instagram-accounts-named-on-creator-directory-pages", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": "specialty coffee Melbourne Instagram influencers",
"numResults": 10,
"contents": {
"highlights": {
"query": "specialty coffee Melbourne Instagram influencers",
"maxCharacters": 2000
}
}
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/instagram-accounts-named-on-creator-directory-pages",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": "specialty coffee Melbourne Instagram influencers",
"numResults": 10,
"contents": {
"highlights": {
"query": "specialty coffee Melbourne Instagram influencers",
"maxCharacters": 2000
}
}
}
},
)
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: instagram-accounts-named-on-creator-directory-pages.
Parameters
queryRequiredstringthe niche, place or audience plus 'Instagram influencers' ('specialty coffee Melbourne Instagram influencers')
Example: specialty coffee Melbourne Instagram influencers
numResultsinteger1-100, default 10; beyond 10 adds $0.001 each
Example: 10
contentsobject{highlights: {query, maxCharacters}}: the passages that match, which carry the handles a page lists
Example: {"highlights":{"query":"specialty coffee Melbourne Instagram influencers","maxCharacters":2000}}
Other ways to do it
Same job, other sources, cheapest first.
