78trust / 100
Profiles Posts
by SocialFetch in News & content
x402 APIPassing, checked 2 h ago
List posts from an Instagram profile by handle.
GET https://api.socialfetch.dev/v1/instagram/profiles/:handle/posts
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 217 ms typical, 265 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.socialfetch.dev/v1/instagram/profiles/:handle/posts"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.socialfetch.dev%2Fv1%2Finstagram%2Fprofiles%2F%3Ahandle%2Fposts
const res = await pay("https://api.socialfetch.dev/v1/instagram/profiles/:handle/posts");
console.log(await res.json());Example input
{}Example output
{
"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"
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 206 ms | $0.014 |
| 6 h ago | Passed | 402 | 205 ms | $0.014 |
| 10 h ago | Passed | 402 | 239 ms | $0.014 |
| 13 h ago | Passed | 402 | 322 ms | $0.014 |
| 17 h ago | Passed | 402 | 265 ms | $0.014 |
| 21 h ago | Passed | 402 | 167 ms | $0.014 |
| 24 h ago | Passed | 402 | 234 ms | $0.014 |
| 29 h ago | Passed | 402 | 217 ms | $0.014 |