Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man github-readme

/github-readme(1)

agentutility / web-probe / github-readme
PRICE / CALL
$0.002
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobe
CATEGORY
uncategorized
STATUS
live
NAME
github-readme github readme fetch / repo readme / open-source-readme-as-markdown / package documentation puller
SYNOPSIS
POST https://x402.org/v1/github-readme
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

GitHub README fetch / repo readme / open-source-readme-as-markdown / package documentation puller. Pulls the raw README markdown for any public GitHub repository via the official GitHub REST API — no auth required for public repos. Returns the unaltered markdown plus byte size and char count. Useful for agents documenting a stack, explaining a library, or snipping an example.

INPUTrequest schema
propertytypedescriptionreq?
repostringRepository in 'owner/name' form (e.g. 'vercel/next.js').required
OUTPUTresponse shape
fieldtypedescription
repostringRepository slug in owner/name form that was fetched, echoed back from the request input.
raw_markdownstringUnaltered README markdown as returned by the GitHub REST API, with original headings, code fences, and links intact.
byte_sizestringSize of the raw markdown payload in bytes, useful for budgeting downstream context windows.
char_countstringTotal character count of the markdown string, including whitespace and newlines.
sourcestringUpstream API the markdown came from, typically the GitHub REST contents endpoint URL for the repo's README.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/github-readme \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# install once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the github-readme tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
web-probegithubreadmemarkdowndocumentationrepo-metadatagithub-readme
methods
POST
cluster
webprobe
price
$0.002 USDC per call
ADJACENTother endpoints in webprobe
endpointdescriptionprice
arxiv-bibtexarXiv to BibTeX / arxiv citation generator / paper bibtex / LaTeX citation builder / academic citation lookup.$0.002
keyword-suggestKeyword autocomplete / search suggest / SEO keyword research / query expansion / autocomplete suggestions.$0.002
qr-code-decodeQR decoder / QR reader / scan QR from URL / QR code OCR / barcode reader / link extraction from QR.$0.002
hacker-news-searchHacker News search / HN search / yc-news / Algolia HN.$0.001
hn-searchHN search / Hacker News search / yc-news / startup-news search / Algolia HN / who-is-hiring scraper / programmer-news firehose.$0.001
homoglyph-checkHomoglyph attack detector / Unicode lookalike scanner.$0.003
ip-asnIP to ASN / IP geolocation / IP-to-ISP lookup / WHOIS for IP / cloud-provider attribution.$0.001
jwt-decodeJWT decoder / token inspector / debug tool.$0.003
SEE ALSO
agentutility(7) · webprobe(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org