List posts from an Instagram profile by handle
List posts from an Instagram profile by handle.
14000 (raw units)
price
7
calls / 30d
3
unique payers
2026-09-06
updated
Provider
api.socialfetch.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x02C2fCAfCe36B4AAdB39625866Bc6B1699d83043",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "14000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"pathParams": {
"handle": "tartine"
},
"queryParams": {},
"type": "http"
},
"output": {
"example": {
"data": {
"lookupStatus": "found",
"page": {
"hasMore": true,
"nextCursor": "3897946163175031286_260462810"
},
"posts": [
{
"_truncated": true,
"caption": "Can you name that NFL logo?",
"commentCount": 703,
"displayUrl": "https://scontent-iad3-1.cdninstagram.com/v/t51.71878-15/671277477_1279367697191068_2208979038109104164_n.jpg?stp=c0.248…",
"id": "3894186385615595223_260462810",
"likeCount": 25598,
"mediaType": "video",
"playCount": 2657321,
"shortcode": "DYK7eKrx6bX",
"takenAt": 1778450400,
"thumbnailUrl": "https://scontent-iad3-2.cdninstagram.com/v/t51.71878-15/695048960_863111330155704_3282543452239843336_n.jpg?stp=dst-jpg…",
"url": "https://www.instagram.com/p/DYK7eKrx6bX/",
"videoUrl": "https://scontent-iad6-1.cdninstagram.com/o1/v/t2/f2/m86/AQNIFEIp8V_UBmpXCKNPXbfYU-oi3iXQM02jiAG2LNhYeRmb6GBrsNlglKtw85F…"
}
]
},
"meta": {
"creditsCharged": 1,
"requestId": "req_f034548e-a2b9-44bf-80be-f209197abf08",
"version": "v1"
}
},
"type": "json"
}
},
"routeTemplate": "/v1/instagram/profiles/:handle/posts",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"pathParams": {
"properties": {
"handle": {
"description": "Instagram handle whose posts should be listed.",
"maxLength": 2048,
"minLength": 1,
"type": "string"
}
},
"required": [
"handle"
],
"type": "object"
},
"queryParams": {
"properties": {
"cursor": {
"description": "Opaque pagination cursor from a previous response.",
"minLength": 1,
"type": "string"
},
"hostMedia": {
"anyOf": [
{
"type": "boolean"
},
{
"enum": [
"0",
"1",
"true",
"false"
],
"type": "string"
}
],
"description": "When true, hosts source media for 90 days and returns delivery URLs in each post's `hostedMedia`."
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.socialfetch.dev/v1/instagram/profiles/:handle/posts" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.socialfetch.dev/v1/instagram/profiles/:handle/posts");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.socialfetch.dev/v1/instagram/profiles/:handle/posts")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3059.json, and this resource appears in /discovery/resources and /discovery/search.