Recent public Instagram posts for a hashtag id
instagram.x.hashtag-recent-mediaThe most recent public posts carrying a hashtag
- Price
- freeプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/instagram.x.hashtag-recent-mediaPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| パスパラメータ | ||||
ig_hashtag_id | 文字列 | 必須 | id returned by instagram.x.hashtag-search | 17843800000000000 |
| クエリパラメータ | ||||
limit | 整数 | 任意 | 25 | |
fields | 文字列 | 任意 | id,caption,media_type,permalink,timestamp | |
user_id | 文字列 | 必須 | Instagram Professional account id making the lookup | 17841400000000000 |
- パスパラメータ
ig_hashtag_id文字列必須id returned by instagram.x.hashtag-search
例:
17843800000000000- クエリパラメータ
limit整数任意例:
25fields文字列任意例:
id,caption,media_type,permalink,timestampuser_id文字列必須Instagram Professional account id making the lookup
例:
17841400000000000
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/instagram.x.hashtag-recent-media' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/instagram.x.hashtag-recent-media",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/instagram.x.hashtag-recent-media", {
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 や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。