78trust / 100

Pinterest Pins

by SocialFetch in News & content

x402 APIPassing, checked 3 h ago

Fetch a public Pinterest pin by URL.

GET https://api.socialfetch.dev/v1/pinterest/pins

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
192 ms typical, 235 ms slowest 5%
Last check
3 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/pinterest/pins?url=https%3A%2F%2Fwww.pinterest.com%2Fpin%2F1124351863225567517%2F"
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%2Fpinterest%2Fpins
const res = await pay("https://api.socialfetch.dev/v1/pinterest/pins?url=https%3A%2F%2Fwww.pinterest.com%2Fpin%2F1124351863225567517%2F");
console.log(await res.json());

Example input

{
  "url": "https://www.pinterest.com/pin/1124351863225567517/"
}

Example output

{
  "data": {
    "lookupStatus": "found",
    "pin": {
      "_truncated": true,
      "altText": "a white bowl filled with meat and tomato sauce on top of a wooden cutting board",
      "createdAt": "Thu, 06 Jun 2024 02:33:19 +0000",
      "description": "Italian Pot Roast (Straccato)",
      "domain": "closetcooking.com",
      "dominantColor": "#714426",
      "id": "68747564459",
      "images": {
        "orig": {
          "height": null,
          "url": null,
          "width": null
        },
        "size236": {
          "height": null,
          "url": null,
          "width": null
        },
        "size474": {
          "height": null,
          "url": null,
          "width": null
        },
        "size564": {
          "height": null,
          "url": null,
          "width": null
        },
        "size736": {
          "height": null,
          "url": null,
          "width": null
        }
      },
      "link": "https://www.closetcooking.com/italian-pot-roast-straccato/",
      "originPinner": {
        "avatarUrl": "https://i.pinimg.com/75x75_RS/71/1a/ce/711ace70f2f6f846692993a7ec3da426.jpg",
        "fullName": "Closet Cooking",
        "id": "91268467356860596",
        "username": "ClosetCooking"
      },
      "pinner": {
        "avatarUrl": "https://i.pinimg.com/75x75_RS/00/60/87/0060871118d040a1ad20ace0148923da.jpg",
        "fullName": "Adrienne James",
        "id": "206158435152",
        "username": "fluffduckie"
      },
      "title": "Italian Pot Roast (Straccato)",
      "url": "https://www.pinterest.com/pin/68747564459/"
    }
  },
  "meta": {
    "creditsCharged": 1,
    "requestId": "req_01example",
    "version": "v1"
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402178 ms$0.014
6 h agoPassed402235 ms$0.014
11 h agoPassed402195 ms$0.014
14 h agoPassed402192 ms$0.014
18 h agoPassed402282 ms$0.014
22 h agoPassed402176 ms$0.014
25 h agoPassed402183 ms$0.014
30 h agoPassed402199 ms$0.014