C

ClaudeLines · Download

by ClaudeLines

POSTBase

$0.05

per call · USD Coin on Base

Buy and download a paid status line. The publisher sets the price and receives the payment directly with no platform fee. Returns the script, integrity hash, and install instructions. Review the script before installing.

Endpoint

POST https://claudelines.com/api/download

4

Calls / 30d

2

Unique payers / 30d

Sep 5

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://claudelines.com/api/download", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "slug": "cat-walk"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://claudelines.com/api/download" \
  -H "Content-Type: application/json" \
  -d '{"slug":"cat-walk"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "capabilities": [],
  "install": {
    "note": "Review the script before installing it.",
    "scriptPath": "~/.claude/statuslines/cat-walk",
    "scriptUrl": "/api/statuslines/cat-walk/script",
    "settings": {
      "statusLine": {
        "command": "~/.claude/statuslines/cat-walk",
        "type": "command"
      }
    },
    "sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
    "verify": "Compare the downloaded script SHA-256 with scriptSha256."
  },
  "name": "Cat Walk",
  "script": "#!/bin/sh\nprintf 'example'\n",
  "scriptSha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
  "slug": "cat-walk"
}

Payment details

Pay to0xb4ad6bb516725ff69594e46c3a7daedf7c473186
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 ClaudeLines & similar services