78trust / 100

Posts Transcript

by SocialFetch in News & content

x402 APIPassing, checked 1 h ago

Get the transcript for a Facebook post or Reel by URL.

GET https://api.socialfetch.dev/v1/facebook/posts/transcript

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
192 ms typical, 261 ms slowest 5%
Last check
1 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/facebook/posts/transcript?url=https%3A%2F%2Fwww.facebook.com%2Funiladmag%2Fposts%2Fpfbid02h8QyMzZrMtHks9iU7oneNe4yTKMzNPynvA9WYMedK7eLjU422HD6u3dfmvmgT5QQl"
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%2Ffacebook%2Fposts%2Ftranscript
const res = await pay("https://api.socialfetch.dev/v1/facebook/posts/transcript?url=https%3A%2F%2Fwww.facebook.com%2Funiladmag%2Fposts%2Fpfbid02h8QyMzZrMtHks9iU7oneNe4yTKMzNPynvA9WYMedK7eLjU422HD6u3dfmvmgT5QQl");
console.log(await res.json());

Example input

{
  "url": "https://www.facebook.com/uniladmag/posts/pfbid02h8QyMzZrMtHks9iU7oneNe4yTKMzNPynvA9WYMedK7eLjU422HD6u3dfmvmgT5QQl"
}

Example output

{
  "data": {
    "lookupStatus": "found",
    "post": {
      "url": "https://www.facebook.com/reel/1535656380759655"
    }
  },
  "meta": {
    "creditsCharged": 1,
    "requestId": "req_8e2c7567-6df6-4f70-ba3f-f6ec61e9d6a1",
    "version": "v1"
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402302 ms$0.014
4 h agoPassed402181 ms$0.014
9 h agoPassed402261 ms$0.014
12 h agoPassed402162 ms$0.014
15 h agoPassed402208 ms$0.014
20 h agoPassed402215 ms$0.014
22 h agoPassed402192 ms$0.014
28 h agoPassed402165 ms$0.014