Instagram search: accounts, hashtags, places
crawl4ai.instagram.search.generalWhat Instagram's search box shows for a query, one row per hit: kind (user, hashtag, place), name (username, #tag or place name), title (full name, the hashtag's post count text, or the place's address), followers (Instagram's rounded count for a user), media_count (exact, for a hashtag), is_verified, url. `kind` is users, hashtags, places or all (all = Instagram's blended list: users for a word, hashtags for a #word). `session` is required: your `sessionid` and `csrftoken` cookies, copied with the Crawl4AI Session extension; used for this run only and never stored. One fetch, 1 unit. Columns: kind, name, title, followers, media_count, is_verified, url.
- Price
- $0.0009/successAl precio del proveedor
- Success rate
- —Aún no hay datos de tasa de éxitoLast 30 days · 150 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
POSThttps://toolswitch.dev/v1/tools/crawl4ai.instagram.search.generalPreview- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
Esta herramienta no tiene parámetros. Consulta la documentación del proveedor ↗ Provider docs
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.instagram.search.general' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"query":"nasa"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/crawl4ai.instagram.search.general",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"query\":\"nasa\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/crawl4ai.instagram.search.general", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"query\":\"nasa\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.0009/success, incluida la tarifa de servicio.