75trust / 100

Posts

by Instagram Profile & Posts in News & content

x402 APIPassing, checked 2 h ago

Page through an Instagram account's posts by username — captions, like and comment counts, media type, video duration, image and thumbnail URLs, post permalinks, tagged users and location, plus a cursor for the next page. Instagram posts feed, reels listing, creator content history, social post data. No API key.

GET https://instagram.use.x402atlas.com/posts/:username

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
452 ms typical, 460 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://instagram.use.x402atlas.com/posts/:username?cursor="
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%2Finstagram.use.x402atlas.com%2Fposts%2F%3Ausername
const res = await pay("https://instagram.use.x402atlas.com/posts/:username?cursor=");
console.log(await res.json());

Example input

{
  "cursor": ""
}

Example output

{
  "next_cursor": "QVFEeWJzNWJXVUZ6M0xkVWhoOWc3RHhwLW5rTk1pT2h5",
  "next_cursor_url": "https://instagram.use.x402atlas.com/posts/nasa?cursor=QVFEeWJzNWJXVUZ6M0xkVWhoOWc3RHhwLW5rTk1pT2h5",
  "posts": [
    {
      "accessibility_caption": "Photo by NASA of the Sun's corona against a black sky.",
      "caption": "A new view of the Sun's corona, captured during totality.",
      "carousel": [],
      "comments": 4102,
      "comments_disabled": false,
      "dimensions": {
        "height": 1350,
        "width": 1080
      },
      "display_url": "https://scontent.cdninstagram.com/v/t51.29350-15/nasa_post_1.jpg",
      "has_audio": false,
      "id": "3502108108334577896",
      "is_paid_partnership": false,
      "is_video": false,
      "like_and_view_counts_disabled": false,
      "likes": 812345,
      "location": {
        "id": "212999109",
        "name": "Kennedy Space Center",
        "slug": "kennedy-space-center"
      },
      "owner": {
        "id": "528817151",
        "username": "nasa"
      },
      "product_type": "feed",
      "shortcode": "DBaVQ2Rx3Ho",
      "tagged_users": [
        "nasahubble"
      ],
      "thumbnail_url": "https://scontent.cdninstagram.com/v/t51.29350-15/nasa_post_1_thumb.jpg",
      "url": "https://www.instagram.com/p/DBaVQ2Rx3Ho/"
    },
    {
      "accessibility_caption": "Video by NASA of astronauts in training suits.",
      "caption": "Artemis II crew training, in 60 seconds.",
      "carousel": [],
      "comments": 8891,
      "comments_disabled": false,
      "dimensions": {
        "height": 1920,
        "width": 1080
      },
      "display_url": "https://scontent.cdninstagram.com/v/t51.29350-15/nasa_post_2.jpg",
      "has_audio": true,
      "id": "3498765432109876543",
      "is_paid_partnership": false,
      "is_video": true,
      "like_and_view_counts_disabled": false,
      "likes": 1204553,
      "owner": {
        "id": "528817151",
        "username": "nasa"
      },
      "product_type": "clips",
      "shortcode": "DBOxK1LvQ8m",
      "tagged_users": [],
      "thumbnail_url": "https://scontent.cdninstagram.com/v/t51.29350-15/nasa_post_2_thumb.jpg",
      "title": "Artemis II crew training",
      "url": "https://www.instagram.com/p/DBOxK1LvQ8m/",
      "video_duration": 58.6
    }
  ],
  "username": "nasa"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402460 ms$0.02
6 h agoPassed402457 ms$0.02
10 h agoPassed402458 ms$0.02
13 h agoPassed402400 ms$0.02
16 h agoPassed402442 ms$0.02
21 h agoPassed402452 ms$0.02
24 h agoPassed402386 ms$0.02
28 h agoPassed402455 ms$0.02
32 h agoPassed402383 ms$0.02
35 h agoPassed402542 ms$0.02
40 h agoPassed402426 ms$0.02