Instagram post or reel by URL or shortcode
scrapecreators.x.v1-instagram-postFetches detailed metadata for a single Instagram post or reel by shortcode or URL.
- Price
- $0.00188/callプロバイダー原価
- Success rate
- 99.9%Last 30 days · 12,327 calls
- Latency p50
- 3.1 sp95 7.1 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-instagram-post?region=USPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
url | 文字列 | 必須 | Instagram post or reel URL | |
trim | 真偽値 | 任意 | Set to true to get a trimmed response | |
region | 文字列 | 任意 | 2 letter country code to set the proxy in | US |
cache_max_age | 文字列 | 任意 | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Cac... | 7d |
download_media | 真偽値 | 任意 | Set to true to download the video/images and get back permanent Supabase URLs. Costs 10 credits if media is found, 1 credit otherwise. | |
- クエリパラメータ
url文字列必須Instagram post or reel URL
trim真偽値任意Set to true to get a trimmed response
region文字列任意2 letter country code to set the proxy in
例:
UScache_max_age文字列任意If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Cac...
例:
7ddownload_media真偽値任意Set to true to download the video/images and get back permanent Supabase URLs. Costs 10 credits if media is found, 1 credit otherwise.
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-instagram-post?region=US' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-instagram-post?region=US",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-instagram-post?region=US", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.00188/call です。サービス料を含みます。