H

Horror Story API · Horror Story

by Horror Story API

GETBase

$0.0013

per call · USD Coin on Base

Access the exclusive horror story collection (pay-per-read).

Endpoint

GET https://horrorstoryapi.vercel.app/api/horror-story

144

Calls / 30d

64

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://horrorstoryapi.vercel.app/api/horror-story", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://horrorstoryapi.vercel.app/api/horror-story" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "license": "Single-reader license. Do not redistribute.",
  "title": "The Horror Story Collection"
}

Payment details

Pay to0x6a4921474848d3fa168ee7fa87222547acc4712f
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from Horror Story API & similar services