Instagram shortcode from post URL
tikhub.x.instagram-v3-extract-shortcodeInstagram: extract shortcode (v3)
- 価格
- $0.002/successカタログ価格で提供
- 成功率
- —成功率データはまだありません成功率データはまだありません
- レイテンシ p50
- ——
- 最終確認
- 2026/07/28動作確認済み
GEThttps://toolswitch.dev/v1/tools/tikhub.x.instagram-v3-extract-shortcode?url=https%3A%2F%2Fwww.instagram.com%2Fp%2FCrgVBtHrFHm%2FBeta- プラットフォームのクォータを使用
- 同期レスポンス
- 公開データを読み取る
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
url | 文字列 | 必須 | Full Instagram post URL | https://www.instagram.com/p/CrgVBtHrFHm/ |
- クエリパラメータ
url文字列必須Full Instagram post URL
例:
https://www.instagram.com/p/CrgVBtHrFHm/
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Beta
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.instagram-v3-extract-shortcode?url=https%3A%2F%2Fwww.instagram.com%2Fp%2FCrgVBtHrFHm%2F' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.instagram-v3-extract-shortcode?url=https%3A%2F%2Fwww.instagram.com%2Fp%2FCrgVBtHrFHm%2F",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.instagram-v3-extract-shortcode?url=https%3A%2F%2Fwww.instagram.com%2Fp%2FCrgVBtHrFHm%2F", {
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 は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.002/success です。サービス料を含みます。