API
Instagram API
インスタグラムは、写真、ストーリー、リール、ダイレクトメッセージを通じて月に約30億人のユーザーに到達し、ブランドストーリーテリング、クリエイターとのパートナーシップ、プロダクト発見、ビジュアルコマースにおいて重要な役割を果たします。
APIリファレンス バージョン: 1.0.0 9 エンドポイント 認証
ベース URL
https://api.pressmonitor.com 認証
すべてのリクエストはベアラートークン認証を使用します。すべての呼び出しにAuthorizationヘッダーを追加してください。
Authorization: Bearer YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID GET
/comments コメント
パラメータ
| 名前 | タイプ | 場所 | 必須 | 説明 |
|---|---|---|---|---|
| shortcode | string | query | はい | ショートコード |
| count | integer | query | いいえ | 返す結果の数 |
| cursor | integer | query | いいえ | 次ページ用のページネーションカーソル |
コード例
curl -X GET "https://api.pressmonitor.com/comments?shortcode=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" レスポンス
200 成功
GET
/followers フォロワー
パラメータ
| 名前 | タイプ | 場所 | 必須 | 説明 |
|---|---|---|---|---|
| username_or_id_or_url | string | query | はい | ユーザー名、ID、またはURL |
| cursor | integer | query | いいえ | 次ページ用のページネーションカーソル |
コード例
curl -X GET "https://api.pressmonitor.com/followers?username_or_id_or_url=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" レスポンス
200 成功
GET
/following フォロー中
パラメータ
| 名前 | タイプ | 場所 | 必須 | 説明 |
|---|---|---|---|---|
| username_or_id_or_url | string | query | はい | ユーザー名、ID、またはURL |
| cursor | integer | query | いいえ | 次ページ用のページネーションカーソル |
コード例
curl -X GET "https://api.pressmonitor.com/following?username_or_id_or_url=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" レスポンス
200 成功
GET
/hashtag-posts ハッシュタグ投稿
パラメータ
| 名前 | タイプ | 場所 | 必須 | 説明 |
|---|---|---|---|---|
| hashtag | string | query | はい | ハッシュタグ |
| count | integer | query | いいえ | 返す結果の数 |
| cursor | integer | query | いいえ | 次ページ用のページネーションカーソル |
コード例
curl -X GET "https://api.pressmonitor.com/hashtag-posts?hashtag=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" レスポンス
200 成功
GET
/info 情報
パラメータ
| 名前 | タイプ | 場所 | 必須 | 説明 |
|---|---|---|---|---|
| username_or_id_or_url | string | query | はい | ユーザー名、ID、またはURL |
| cursor | integer | query | いいえ | 次ページ用のページネーションカーソル |
| include_about | string | query | いいえ | Aboutを含む |
| url_embed_safe | string | query | いいえ | 安全なURL埋め込み |
コード例
curl -X GET "https://api.pressmonitor.com/info?username_or_id_or_url=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" レスポンス
200 成功
GET
/post-info 投稿情報
パラメータ
| 名前 | タイプ | 場所 | 必須 | 説明 |
|---|---|---|---|---|
| url_or_shortcode | string | query | はい | URLまたはショートコード |
| cursor | integer | query | いいえ | 次ページ用のページネーションカーソル |
| url_embed_safe | string | query | いいえ | 安全なURL埋め込み |
コード例
curl -X GET "https://api.pressmonitor.com/post-info?url_or_shortcode=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" レスポンス
200 成功
GET
/posts 投稿
パラメータ
| 名前 | タイプ | 場所 | 必須 | 説明 |
|---|---|---|---|---|
| username_or_id_or_url | string | query | はい | ユーザー名、ID、またはURL |
| cursor | integer | query | いいえ | 次ページ用のページネーションカーソル |
コード例
curl -X GET "https://api.pressmonitor.com/posts?username_or_id_or_url=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" レスポンス
200 成功
GET
/search-posts 投稿検索
パラメータ
| 名前 | タイプ | 場所 | 必須 | 説明 |
|---|---|---|---|---|
| search_query | string | query | はい | 検索クエリ |
| cursor | integer | query | いいえ | 次ページ用のページネーションカーソル |
コード例
curl -X GET "https://api.pressmonitor.com/search-posts?search_query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" レスポンス
200 成功
GET
/search-users ユーザー検索
パラメータ
| 名前 | タイプ | 場所 | 必須 | 説明 |
|---|---|---|---|---|
| search_query | string | query | はい | 検索クエリ |
| cursor | integer | query | いいえ | 次ページ用のページネーションカーソル |
コード例
curl -X GET "https://api.pressmonitor.com/search-users?search_query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" レスポンス
200 成功