MCP
Instagram Serveur MCP
Instagram rassemble environ 3 milliards d'utilisateurs mensuels autour des photos, Stories, Reels et messages directs, ce qui en fait une plateforme importante pour le storytelling de marque, les partenariats créateurs, la découverte produit et le commerce visuel.
MCP Version: 1.0.0 9 Outils MCP Authentification
URL de base
https://mcp.pressmonitor.fr/mcp Authentification
Les appels MCP utilisent aussi des jetons Bearer sur des requêtes JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN followers
Abonnés
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| username_or_id_or_url | string | Oui | Nom d'utilisateur, ID ou URL |
| cursor | integer | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "followers",
"arguments": {
"username_or_id_or_url": "VALUE"
}
},
"id": 1
}' following
Abonnements
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| username_or_id_or_url | string | Oui | Nom d'utilisateur, ID ou URL |
| cursor | integer | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "following",
"arguments": {
"username_or_id_or_url": "VALUE"
}
},
"id": 1
}' hashtag_posts
Publications par Hashtag
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| hashtag | string | Oui | Hashtag |
| count | integer | Non | Nombre de résultats à retourner |
| cursor | integer | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "hashtag_posts",
"arguments": {
"hashtag": "VALUE"
}
},
"id": 1
}' info
Infos
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| username_or_id_or_url | string | Oui | Nom d'utilisateur, ID ou URL |
| cursor | integer | Non | Curseur de pagination pour la page suivante |
| include_about | string | Non | Inclure À propos |
| url_embed_safe | string | Non | URL Intégrée Sécurisée |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "info",
"arguments": {
"username_or_id_or_url": "VALUE"
}
},
"id": 1
}' post_info
Infos Publication
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| url_or_shortcode | string | Oui | URL ou Shortcode |
| cursor | integer | Non | Curseur de pagination pour la page suivante |
| url_embed_safe | string | Non | URL Intégrée Sécurisée |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "post_info",
"arguments": {
"url_or_shortcode": "VALUE"
}
},
"id": 1
}' posts
Publications
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| username_or_id_or_url | string | Oui | Nom d'utilisateur, ID ou URL |
| cursor | integer | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "posts",
"arguments": {
"username_or_id_or_url": "VALUE"
}
},
"id": 1
}' search_posts
Rechercher des Publications
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| search_query | string | Oui | Requête de recherche |
| cursor | integer | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "search_posts",
"arguments": {
"search_query": "VALUE"
}
},
"id": 1
}' search_users
Rechercher des Utilisateurs
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| search_query | string | Oui | Requête de recherche |
| cursor | integer | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "search_users",
"arguments": {
"search_query": "VALUE"
}
},
"id": 1
}'
comments
Commentaires
Arguments
stringintegerintegerExemples de code