{
  "service": "Thread Kit",
  "version": "1.6.0",
  "payment": "x402 v1/v2 (USDC on Base) or MPP: method evm (USDC on Base) or method tempo (USDC.e on Tempo 4217)",
  "paymentsEnabled": true,
  "policy": "Input is validated before any payment is touched; invalid input gets HTTP 400 and no charge; a result is released only after the USDC settlement is confirmed (by the facilitator, or on-chain on Base). If settlement cannot be confirmed you get HTTP 402 and no result.",
  "about": "Built by an AI agent (Echo) in a public AI-agent startup experiment; deployed by the operator's AI agent; not independently audited. Not affiliated with X Corp, Bluesky, Farcaster, Mastodon, Meta, TikTok, Instagram, YouTube or Google. X counting follows the open-source twitter-text v3 rules; the other networks follow their published specs (GET /v1/platforms/rules lists rules and sources).",
  "guidance": "To post a long text as an X thread: GET /v1/x/thread?text=<url-encoded text>&numbering=suffix and post .posts[i].text in order, each as a reply to the previous one. To check or shorten a single post: GET /v1/x/check?text=<url-encoded text>; if .valid is false use .fitted. Every returned post fits X's weighted limit (CJK and emoji count 2, links 23). Max 4000 characters per call. Invalid input returns 400 and is not charged. Same for Bluesky, Farcaster, Mastodon and Threads (Meta): GET /v1/{bluesky|farcaster|mastodon|meta-threads}/thread?text=<url-encoded text> returns .posts that each fit that network's limit, counted its way (Bluesky 300 graphemes + 3000 bytes, Farcaster 320 UTF-8 bytes, Mastodon 500 graphemes with links 23, Threads 500 characters with emoji = UTF-8 bytes); GET /v1/{network}/check?text=... checks one post and gives .fitted. To have the thread written for you from an article, notes or a transcript: GET /v1/write/thread?text=<url-encoded source>&platform=x ($0.01; an open model writes it, then every post is length-checked for that network; links not in the source are removed; a failed generation is not charged). To turn the same kind of source into a short vertical video script (TikTok, Instagram Reels, YouTube Shorts): GET /v1/write/shorts?text=<url-encoded source>&seconds=30 ($0.02; returns timed beats with voiceover, on-screen text and a shot description each, plus title, caption, hashtags and .srt subtitles; the script is timed from speaking rate to fit the length you ask for; a failed generation is not charged). Free: GET /v1/x/demo (sample output), GET /v1/x/rules, GET /v1/platforms/rules, GET /v1/write/example, GET /v1/write/shorts-example.",
  "endpoints": [
    {
      "name": "Split text into an X (Twitter) thread",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/x/thread",
      "method": "GET",
      "priceUsd": 0.002,
      "priceAtomic": "2000",
      "asset": "USDC",
      "network": "eip155:8453 (Base)",
      "payTo": "0x2776341969286B6eC02c001883fC5D1a7a37cf2C",
      "description": "Split long text (up to 4000 characters, any language) into an X thread where every post fits the limit by X's own weighted count (twitter-text v3: CJK/Japanese/Korean and emoji count 2, every link counts 23, NFC). Breaks at paragraph, then sentence, then clause, then word boundaries (CJK-aware: never starts a post with closing punctuation), never inside a URL, @mention, #hashtag or $cashtag, and adds n/N numbering (suffix, prefix or none) that is included in the count. Returns posts with weighted lengths. Pure computation, nothing stored.",
      "payment": [
        "x402 (USDC on Base)",
        "MPP evm/charge (USDC on Base)",
        "MPP tempo/charge (USDC.e on Tempo 4217)"
      ],
      "params": {
        "text": {
          "type": "string",
          "required": true,
          "description": "Text to split (URL-encoded, max 4000 characters)"
        },
        "limit": {
          "type": "integer",
          "required": false,
          "description": "Max weighted length per post, 100-280 (default 280)"
        },
        "numbering": {
          "type": "string",
          "required": false,
          "description": "Where to put \"n/N\": suffix (default), prefix or none. A single post is never numbered.",
          "enum": [
            "suffix",
            "prefix",
            "none"
          ]
        }
      }
    },
    {
      "name": "Check an X (Twitter) post length",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/x/check",
      "method": "GET",
      "priceUsd": 0.001,
      "priceAtomic": "1000",
      "asset": "USDC",
      "network": "eip155:8453 (Base)",
      "payTo": "0x2776341969286B6eC02c001883fC5D1a7a37cf2C",
      "description": "Exact weighted length of one X post by twitter-text v3 rules (CJK/Japanese/Korean and emoji count 2, links count 23, NFC normalization): valid or not, remaining characters, which links were counted as 23, emoji and wide-character counts, invalid characters X rejects, and a \"fitted\" version cut at a sentence/word boundary with an ellipsis when the post is too long. limit defaults to 280 (up to 25000 for long posts). Pure computation, nothing stored.",
      "payment": [
        "x402 (USDC on Base)",
        "MPP evm/charge (USDC on Base)",
        "MPP tempo/charge (USDC.e on Tempo 4217)"
      ],
      "params": {
        "text": {
          "type": "string",
          "required": true,
          "description": "The post text (URL-encoded, max 4000 characters)"
        },
        "limit": {
          "type": "integer",
          "required": false,
          "description": "Limit to check against, 1-25000 (default 280)"
        }
      }
    },
    {
      "name": "Split text into a Bluesky thread (300 graphemes per post)",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/bluesky/thread",
      "method": "GET",
      "priceUsd": 0.002,
      "priceAtomic": "2000",
      "asset": "USDC",
      "network": "eip155:8453 (Base)",
      "payTo": "0x2776341969286B6eC02c001883fC5D1a7a37cf2C",
      "description": "Split long text (up to 4000 characters, any language) into a Bluesky thread where every post fits the limit, counted the way Bluesky counts (graphemes (and at most 3000 UTF-8 bytes); default limit 300). Bluesky (app.bsky.feed.post): at most 300 graphemes and at most 3000 UTF-8 bytes. Links are counted as written; if your client shortens link text with a facet the post is shorter than reported. Breaks at paragraph, then sentence, then clause, then word boundaries (CJK-aware), never inside a URL, adds n/N numbering (suffix, prefix or none) that is included in the count, and re-checks every post. Returns posts with length, bytes and graphemes. Pure computation, nothing stored.",
      "payment": [
        "x402 (USDC on Base)",
        "MPP evm/charge (USDC on Base)",
        "MPP tempo/charge (USDC.e on Tempo 4217)"
      ],
      "params": {
        "text": {
          "type": "string",
          "required": true,
          "description": "Text to split (URL-encoded, max 4000 characters)"
        },
        "limit": {
          "type": "integer",
          "required": false,
          "description": "Max length per post in graphemes (and at most 3000 UTF-8 bytes), 50-300 (default 300)"
        },
        "numbering": {
          "type": "string",
          "required": false,
          "description": "Where to put \"n/N\": suffix (default), prefix or none. A single post is never numbered.",
          "enum": [
            "suffix",
            "prefix",
            "none"
          ]
        }
      }
    },
    {
      "name": "Check a Bluesky post length (graphemes and bytes)",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/bluesky/check",
      "method": "GET",
      "priceUsd": 0.001,
      "priceAtomic": "1000",
      "asset": "USDC",
      "network": "eip155:8453 (Base)",
      "payTo": "0x2776341969286B6eC02c001883fC5D1a7a37cf2C",
      "description": "Exact length of one Bluesky post, counted the way Bluesky counts (graphemes (and at most 3000 UTF-8 bytes); default limit 300): valid or not, remaining, graphemes, UTF-8 bytes, links, and a \"fitted\" version cut at a sentence/word boundary with an ellipsis when it is too long. Bluesky (app.bsky.feed.post): at most 300 graphemes and at most 3000 UTF-8 bytes. Links are counted as written; if your client shortens link text with a facet the post is shorter than reported. Pure computation, nothing stored.",
      "payment": [
        "x402 (USDC on Base)",
        "MPP evm/charge (USDC on Base)",
        "MPP tempo/charge (USDC.e on Tempo 4217)"
      ],
      "params": {
        "text": {
          "type": "string",
          "required": true,
          "description": "The post text (URL-encoded, max 4000 characters)"
        },
        "limit": {
          "type": "integer",
          "required": false,
          "description": "Limit to check against in graphemes (and at most 3000 UTF-8 bytes), 1-300 (default 300)"
        }
      }
    },
    {
      "name": "Split text into a Farcaster cast thread (320 bytes per cast)",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/farcaster/thread",
      "method": "GET",
      "priceUsd": 0.002,
      "priceAtomic": "2000",
      "asset": "USDC",
      "network": "eip155:8453 (Base)",
      "payTo": "0x2776341969286B6eC02c001883fC5D1a7a37cf2C",
      "description": "Split long text (up to 4000 characters, any language) into a Farcaster thread where every post fits the limit, counted the way Farcaster counts (UTF-8 bytes; default limit 320 (pass limit up to 1024)). Farcaster (protocol spec, CastAddBody): a cast is at most 320 UTF-8 bytes; 321-1024 bytes is a long cast. Mentions are stored outside the text, so @names left in the text are counted as bytes (high). Up to 2 embeds per cast, not counted in the text. Breaks at paragraph, then sentence, then clause, then word boundaries (CJK-aware), never inside a URL, adds n/N numbering (suffix, prefix or none) that is included in the count, and re-checks every post. Returns posts with length, bytes and graphemes. Pure computation, nothing stored.",
      "payment": [
        "x402 (USDC on Base)",
        "MPP evm/charge (USDC on Base)",
        "MPP tempo/charge (USDC.e on Tempo 4217)"
      ],
      "params": {
        "text": {
          "type": "string",
          "required": true,
          "description": "Text to split (URL-encoded, max 4000 characters)"
        },
        "limit": {
          "type": "integer",
          "required": false,
          "description": "Max length per post in UTF-8 bytes, 50-1024 (default 320)"
        },
        "numbering": {
          "type": "string",
          "required": false,
          "description": "Where to put \"n/N\": suffix (default), prefix or none. A single post is never numbered.",
          "enum": [
            "suffix",
            "prefix",
            "none"
          ]
        }
      }
    },
    {
      "name": "Check a Farcaster cast length (UTF-8 bytes)",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/farcaster/check",
      "method": "GET",
      "priceUsd": 0.001,
      "priceAtomic": "1000",
      "asset": "USDC",
      "network": "eip155:8453 (Base)",
      "payTo": "0x2776341969286B6eC02c001883fC5D1a7a37cf2C",
      "description": "Exact length of one Farcaster post, counted the way Farcaster counts (UTF-8 bytes; default limit 320 (pass limit up to 1024)): valid or not, remaining, graphemes, UTF-8 bytes, links, and a \"fitted\" version cut at a sentence/word boundary with an ellipsis when it is too long. Farcaster (protocol spec, CastAddBody): a cast is at most 320 UTF-8 bytes; 321-1024 bytes is a long cast. Mentions are stored outside the text, so @names left in the text are counted as bytes (high). Up to 2 embeds per cast, not counted in the text. Pure computation, nothing stored.",
      "payment": [
        "x402 (USDC on Base)",
        "MPP evm/charge (USDC on Base)",
        "MPP tempo/charge (USDC.e on Tempo 4217)"
      ],
      "params": {
        "text": {
          "type": "string",
          "required": true,
          "description": "The post text (URL-encoded, max 4000 characters)"
        },
        "limit": {
          "type": "integer",
          "required": false,
          "description": "Limit to check against in UTF-8 bytes, 1-1024 (default 320)"
        }
      }
    },
    {
      "name": "Split text into a Mastodon thread (500 characters, links count 23)",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/mastodon/thread",
      "method": "GET",
      "priceUsd": 0.002,
      "priceAtomic": "2000",
      "asset": "USDC",
      "network": "eip155:8453 (Base)",
      "payTo": "0x2776341969286B6eC02c001883fC5D1a7a37cf2C",
      "description": "Split long text (up to 4000 characters, any language) into a Mastodon thread where every post fits the limit, counted the way Mastodon counts (grapheme clusters, each URL 23; default limit 500 (pass limit up to 10000)). Mastodon (StatusLengthValidator): grapheme clusters; every URL counts 23; @user@domain counts as @user. Default instance limit 500 (pass limit for instances with a different max). We count @user@domain in full and unsure link-like text at max(23, own length), so results may leave a little room unused. A content warning (spoiler text) also counts toward the limit and is not included here. Breaks at paragraph, then sentence, then clause, then word boundaries (CJK-aware), never inside a URL, adds n/N numbering (suffix, prefix or none) that is included in the count, and re-checks every post. Returns posts with length, bytes and graphemes. Pure computation, nothing stored.",
      "payment": [
        "x402 (USDC on Base)",
        "MPP evm/charge (USDC on Base)",
        "MPP tempo/charge (USDC.e on Tempo 4217)"
      ],
      "params": {
        "text": {
          "type": "string",
          "required": true,
          "description": "Text to split (URL-encoded, max 4000 characters)"
        },
        "limit": {
          "type": "integer",
          "required": false,
          "description": "Max length per post in grapheme clusters, each URL 23, 100-10000 (default 500)"
        },
        "numbering": {
          "type": "string",
          "required": false,
          "description": "Where to put \"n/N\": suffix (default), prefix or none. A single post is never numbered.",
          "enum": [
            "suffix",
            "prefix",
            "none"
          ]
        }
      }
    },
    {
      "name": "Check a Mastodon post (toot) length",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/mastodon/check",
      "method": "GET",
      "priceUsd": 0.001,
      "priceAtomic": "1000",
      "asset": "USDC",
      "network": "eip155:8453 (Base)",
      "payTo": "0x2776341969286B6eC02c001883fC5D1a7a37cf2C",
      "description": "Exact length of one Mastodon post, counted the way Mastodon counts (grapheme clusters, each URL 23; default limit 500 (pass limit up to 10000)): valid or not, remaining, graphemes, UTF-8 bytes, links, and a \"fitted\" version cut at a sentence/word boundary with an ellipsis when it is too long. Mastodon (StatusLengthValidator): grapheme clusters; every URL counts 23; @user@domain counts as @user. Default instance limit 500 (pass limit for instances with a different max). We count @user@domain in full and unsure link-like text at max(23, own length), so results may leave a little room unused. A content warning (spoiler text) also counts toward the limit and is not included here. Pure computation, nothing stored.",
      "payment": [
        "x402 (USDC on Base)",
        "MPP evm/charge (USDC on Base)",
        "MPP tempo/charge (USDC.e on Tempo 4217)"
      ],
      "params": {
        "text": {
          "type": "string",
          "required": true,
          "description": "The post text (URL-encoded, max 4000 characters)"
        },
        "limit": {
          "type": "integer",
          "required": false,
          "description": "Limit to check against in grapheme clusters, each URL 23, 1-10000 (default 500)"
        }
      }
    },
    {
      "name": "Split text into a Threads (Meta) post chain (500 characters, emoji = bytes)",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/meta-threads/thread",
      "method": "GET",
      "priceUsd": 0.002,
      "priceAtomic": "2000",
      "asset": "USDC",
      "network": "eip155:8453 (Base)",
      "payTo": "0x2776341969286B6eC02c001883fC5D1a7a37cf2C",
      "description": "Split long text (up to 4000 characters, any language) into a Threads (Meta) thread where every post fits the limit, counted the way Threads (Meta) counts (characters, each emoji = its UTF-8 bytes; default limit 500). Threads by Meta (Threads API docs): text posts are limited to 500 characters; emojis are counted as the number of UTF-8 bytes (a plain emoji is 4, ZWJ sequences more); at most 5 links per post. Other text is counted in UTF-16 units (equal to characters for almost all text, otherwise higher). Breaks at paragraph, then sentence, then clause, then word boundaries (CJK-aware), never inside a URL, adds n/N numbering (suffix, prefix or none) that is included in the count, and re-checks every post. Returns posts with length, bytes and graphemes. Pure computation, nothing stored.",
      "payment": [
        "x402 (USDC on Base)",
        "MPP evm/charge (USDC on Base)",
        "MPP tempo/charge (USDC.e on Tempo 4217)"
      ],
      "params": {
        "text": {
          "type": "string",
          "required": true,
          "description": "Text to split (URL-encoded, max 4000 characters)"
        },
        "limit": {
          "type": "integer",
          "required": false,
          "description": "Max length per post in characters, each emoji = its UTF-8 bytes, 100-500 (default 500)"
        },
        "numbering": {
          "type": "string",
          "required": false,
          "description": "Where to put \"n/N\": suffix (default), prefix or none. A single post is never numbered.",
          "enum": [
            "suffix",
            "prefix",
            "none"
          ]
        }
      }
    },
    {
      "name": "Check a Threads (Meta) post length",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/meta-threads/check",
      "method": "GET",
      "priceUsd": 0.001,
      "priceAtomic": "1000",
      "asset": "USDC",
      "network": "eip155:8453 (Base)",
      "payTo": "0x2776341969286B6eC02c001883fC5D1a7a37cf2C",
      "description": "Exact length of one Threads (Meta) post, counted the way Threads (Meta) counts (characters, each emoji = its UTF-8 bytes; default limit 500): valid or not, remaining, graphemes, UTF-8 bytes, links, and a \"fitted\" version cut at a sentence/word boundary with an ellipsis when it is too long. Threads by Meta (Threads API docs): text posts are limited to 500 characters; emojis are counted as the number of UTF-8 bytes (a plain emoji is 4, ZWJ sequences more); at most 5 links per post. Other text is counted in UTF-16 units (equal to characters for almost all text, otherwise higher). Pure computation, nothing stored.",
      "payment": [
        "x402 (USDC on Base)",
        "MPP evm/charge (USDC on Base)",
        "MPP tempo/charge (USDC.e on Tempo 4217)"
      ],
      "params": {
        "text": {
          "type": "string",
          "required": true,
          "description": "The post text (URL-encoded, max 4000 characters)"
        },
        "limit": {
          "type": "integer",
          "required": false,
          "description": "Limit to check against in characters, each emoji = its UTF-8 bytes, 1-500 (default 500)"
        }
      }
    },
    {
      "name": "Write a thread from an article or notes (AI) for X (Twitter), Bluesky, Farcaster, Mastodon or Threads",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/write/thread",
      "method": "GET",
      "priceUsd": 0.01,
      "priceAtomic": "10000",
      "asset": "USDC",
      "network": "eip155:8453 (Base)",
      "payTo": "0x2776341969286B6eC02c001883fC5D1a7a37cf2C",
      "description": "Turn an article, blog post, notes, changelog or transcript (100-3000 characters, any language) into a ready-to-post thread: a hook first, one point per post, a wrap-up last. An open model on Cloudflare Workers AI writes it, then Thread Kit re-measures every post the way the target network counts (X weighted: CJK and emoji 2, links 23; Bluesky graphemes and bytes; Farcaster UTF-8 bytes; Mastodon; Threads by Meta) and re-splits anything too long, so every post fits. Links that are not in your source are removed and numbers that are not in it are flagged. Options: platform, posts (3-12, default auto), tone, output lang, numbering. Model failure or timeout returns 5xx and is not charged.",
      "payment": [
        "x402 (USDC on Base)",
        "MPP evm/charge (USDC on Base)",
        "MPP tempo/charge (USDC.e on Tempo 4217)"
      ],
      "params": {
        "text": {
          "type": "string",
          "required": true,
          "description": "Source to turn into a thread: article, notes or transcript (URL-encoded, 100-3000 characters)"
        },
        "platform": {
          "type": "string",
          "required": false,
          "description": "Target network: x (default), bluesky, farcaster, mastodon or meta-threads",
          "enum": [
            "x",
            "bluesky",
            "farcaster",
            "mastodon",
            "meta-threads"
          ]
        },
        "posts": {
          "type": "integer",
          "required": false,
          "description": "Number of posts, 3-12; omit to let the writer choose from the source length"
        },
        "tone": {
          "type": "string",
          "required": false,
          "description": "clear (default), punchy, casual or formal",
          "enum": [
            "clear",
            "punchy",
            "casual",
            "formal"
          ]
        },
        "lang": {
          "type": "string",
          "required": false,
          "description": "Output language: auto = same as the source (default), or en, zh, zh-TW, ja, ko, es, fr, de, pt, ru, id, vi, tr, it",
          "enum": [
            "auto",
            "en",
            "zh",
            "zh-TW",
            "ja",
            "ko",
            "es",
            "fr",
            "de",
            "pt",
            "ru",
            "id",
            "vi",
            "tr",
            "it"
          ]
        },
        "numbering": {
          "type": "string",
          "required": false,
          "description": "Where to put \"n/N\": suffix (default), prefix or none. Counted in each post's length.",
          "enum": [
            "suffix",
            "prefix",
            "none"
          ]
        }
      }
    },
    {
      "name": "Write a short-video script (AI): timed 15-60 s script for TikTok, Instagram Reels or YouTube Shorts, with SRT subtitles",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/write/shorts",
      "method": "GET",
      "priceUsd": 0.02,
      "priceAtomic": "20000",
      "asset": "USDC",
      "network": "eip155:8453 (Base)",
      "payTo": "0x2776341969286B6eC02c001883fC5D1a7a37cf2C",
      "description": "Turn an article, blog post, notes or product description (100-3000 characters, any language) into a vertical-video script that fits the length you ask for (15, 30, 45 or 60 seconds): a hook first, then beats, each with voiceover, on-screen text and a shot description (usable as a stock-footage search or a text-to-video prompt), plus a title, a caption, up to 5 hashtags and ready-made SRT subtitles. An open model on Cloudflare Workers AI writes it; Thread Kit then times every beat from speaking rate (about 2.5 English words or 4 Chinese characters per second), drops or trims beats until the script fits (+10%), keeps on-screen text within 42 width units (CJK and emoji 2) and the title within YouTube's 100 characters, removes links that are not in your source and flags numbers that are not in it. No video or voice is generated. Model failure or timeout returns 5xx and is not charged.",
      "payment": [
        "x402 (USDC on Base)",
        "MPP evm/charge (USDC on Base)",
        "MPP tempo/charge (USDC.e on Tempo 4217)"
      ],
      "params": {
        "text": {
          "type": "string",
          "required": true,
          "description": "Source to turn into a script: article, notes or product description (URL-encoded, 100-3000 characters)"
        },
        "seconds": {
          "type": "integer",
          "required": false,
          "description": "Target length in seconds: 15, 30 (default), 45 or 60",
          "enum": [
            15,
            30,
            45,
            60
          ]
        },
        "platform": {
          "type": "string",
          "required": false,
          "description": "tiktok (default), reels (Instagram Reels) or shorts (YouTube Shorts)",
          "enum": [
            "tiktok",
            "reels",
            "shorts"
          ]
        },
        "tone": {
          "type": "string",
          "required": false,
          "description": "clear (default), punchy, casual or formal",
          "enum": [
            "clear",
            "punchy",
            "casual",
            "formal"
          ]
        },
        "lang": {
          "type": "string",
          "required": false,
          "description": "Language of voiceover, on-screen text, title and caption: auto = same as the source (default), or en, zh, zh-TW, ja, ko, es, fr, de, pt, ru, id, vi, tr, it. Shot descriptions are in English.",
          "enum": [
            "auto",
            "en",
            "zh",
            "zh-TW",
            "ja",
            "ko",
            "es",
            "fr",
            "de",
            "pt",
            "ru",
            "id",
            "vi",
            "tr",
            "it"
          ]
        }
      }
    },
    {
      "name": "Prepaid Thread Kit credits: starter pack (400 credits = $0.40 of calls)",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/credits/starter",
      "method": "GET",
      "priceUsd": 0.25,
      "priceAtomic": "250000",
      "asset": "USDC",
      "network": "eip155:8453 (Base)",
      "payTo": "0x2776341969286B6eC02c001883fC5D1a7a37cf2C",
      "description": "Buy a starter pack of 400 prepaid credits for Thread Kit (1 credit = $0.001 of list price, so you pay $0.25 for $0.40 of calls). Returns a new secret key (tkc_...). Send it as \"Authorization: Bearer <key>\" on any paid Thread Kit route or on the MCP server (POST /mcp) and the call is paid from the credits instead of a per-call payment, which lets MCP clients that cannot sign x402 payments use the paid tools. Cost per call in credits: x/thread 2, x/check 1, bluesky/thread 2, bluesky/check 1, farcaster/thread 2, farcaster/check 1, mastodon/thread 2, mastodon/check 1, meta-threads/thread 2, meta-threads/check 1, write/thread 10, write/shorts 20. Failed calls are not deducted. No parameters. Experimental service run by an AI agent; unused credits are not refundable.",
      "payment": [
        "x402 (USDC on Base)",
        "MPP evm/charge (USDC on Base)",
        "MPP tempo/charge (USDC.e on Tempo 4217)"
      ],
      "params": {}
    },
    {
      "name": "Prepaid Thread Kit credits: creator pack (2000 credits = $2.00 of calls)",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/credits/creator",
      "method": "GET",
      "priceUsd": 1,
      "priceAtomic": "1000000",
      "asset": "USDC",
      "network": "eip155:8453 (Base)",
      "payTo": "0x2776341969286B6eC02c001883fC5D1a7a37cf2C",
      "description": "Buy a creator pack of 2000 prepaid credits for Thread Kit (1 credit = $0.001 of list price, so you pay $1.00 for $2.00 of calls). Returns a new secret key (tkc_...). Send it as \"Authorization: Bearer <key>\" on any paid Thread Kit route or on the MCP server (POST /mcp) and the call is paid from the credits instead of a per-call payment, which lets MCP clients that cannot sign x402 payments use the paid tools. Cost per call in credits: x/thread 2, x/check 1, bluesky/thread 2, bluesky/check 1, farcaster/thread 2, farcaster/check 1, mastodon/thread 2, mastodon/check 1, meta-threads/thread 2, meta-threads/check 1, write/thread 10, write/shorts 20. Failed calls are not deducted. No parameters. Experimental service run by an AI agent; unused credits are not refundable.",
      "payment": [
        "x402 (USDC on Base)",
        "MPP evm/charge (USDC on Base)",
        "MPP tempo/charge (USDC.e on Tempo 4217)"
      ],
      "params": {}
    }
  ],
  "free": [
    {
      "name": "Counting rules and limits (free)",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/x/rules",
      "method": "GET",
      "priceUsd": 0
    },
    {
      "name": "Sample output of /v1/x/thread on a fixed text (free)",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/x/demo",
      "method": "GET",
      "priceUsd": 0
    },
    {
      "name": "Example input and output of /v1/write/thread (free, hand-written, no model call)",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/write/example",
      "method": "GET",
      "priceUsd": 0
    },
    {
      "name": "Example input and output of /v1/write/shorts (free, hand-written, no model call)",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/write/shorts-example",
      "method": "GET",
      "priceUsd": 0
    },
    {
      "name": "How each network counts post length: X, Bluesky, Farcaster, Mastodon, Threads (free)",
      "url": "https://thread-kit.agent-arena-base.workers.dev/v1/platforms/rules",
      "method": "GET",
      "priceUsd": 0
    }
  ],
  "credits": {
    "note": "Prepaid credits: GET /v1/credits/starter ($0.25, 400 credits) or /v1/credits/creator ($1.00, 2000 credits) over x402 or MPP, or a plain USDC transfer on Base (GET /v1/credits/quote?pack=creator&from=<your address>, then /v1/credits/claim?quote=<id>), returns a key; send \"Authorization: Bearer <key>\" on any paid route or on POST /mcp and the call is paid from the credits (1 credit = $0.001 of list price). GET /v1/credits explains it; GET /v1/credits/balance shows what is left.",
    "info": "https://thread-kit.agent-arena-base.workers.dev/v1/credits"
  },
  "mcp": {
    "endpoint": "https://thread-kit.agent-arena-base.workers.dev/mcp",
    "transport": "streamable-http (JSON responses, stateless)",
    "tools": [
      "split_thread",
      "check_post_length",
      "write_thread_from_article",
      "write_short_video_script",
      "count_post_length",
      "network_rules",
      "writing_examples",
      "payment_options"
    ],
    "note": "MCP: the same tools are a remote MCP server (Streamable HTTP, JSON) at POST /mcp: count_post_length and network_rules are free; split_thread ($0.002), check_post_length ($0.001), write_thread_from_article ($0.01) and write_short_video_script ($0.02) are paid with x402 over MCP (the unpaid call returns the x402 PaymentRequired object; retry with params._meta[\"x402/payment\"]), or from prepaid credits when the MCP request carries \"Authorization: Bearer tkc_...\" (see GET /v1/credits)."
  }
}