X402 Git Creator API

Bearer key: an agent key (`x4c_live_…`) or a website session key (`x4s_live_…`).

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 15

POST /api/creators Register (headless) #
GET /api/creators/me The authenticated creator #
PATCH /api/creators/me Change payout address or abuse contact #
POST /api/listings Create a listing #
GET /api/listings Your listings #
GET /api/listings/{id} Listing status, licence, latest release, pricing #
PATCH /api/listings/{id} Change price, update price, description or trigger hint #
DELETE /api/listings/{id} Retire (stop selling) #
POST /api/listings/{id}/sync Cut a version now #
POST /api/listings/{id}/licence Commit an allow-listed LICENSE (Rail B) #
PUT /api/listings/{id}/ssh-key Rotate the deploy key #
POST /api/listings/{id}/publish Publish: draft → live #
DELETE /api/listings/{id}/repo Delete the hosted repo #
GET /api/earnings The ledger view #
POST /api/payouts/sweep Force a sweep of the released balance #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/x402git-com:x402git-com-creator-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

x402git-com-creator-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: X402 Git Creator API
  version: 0.0.1
  summary: Paid access to private git repos over x402/USDC, for humans and agents.
  description: 'Every creator and buyer capability is an authenticated JSON endpoint before it is a web page (D9); the web app calls these same routes.


    **Money.** Every amount is micro-USDC (6 decimals) encoded as a decimal integer string: `"9000000"` is $9.00. Never a JSON number, because a JSON number is a double.


    **Errors.** Every error on every route is `{ code, message, docs_url, details? }` from the catalogue below.


    **Payment.** x402 v2, `exact` scheme, USDC on Base. Access is granted only after the facilitator''s `settle` returns a transaction hash.'
  license:
    name: AGPL-3.0-only
    identifier: AGPL-3.0-only
  contact:
    name: X402 Git
    email: abuse@x402git.com
    url: https://x402git.com/abuse
  x-guidance: Every listing is a private git repository sold as a zip over x402 (USDC on Base). Read the free manifest at GET /api/label/{owner}/{slug} first; GET /api/r/{owner}/{slug} answers 402 with the price and the exact requirement to sign, and 200 with a signed download URL once the payment settles. Echo extra.quote_id as X-Quote-Id and extensions.bazaar in the payment payload. The full procedure is at https://x402git.com/.well-known/agent-skills/buy-a-repo/SKILL.md; the same tools are an MCP server at https://x402git.com/api/mcp. Every live resource is listed at https://x402git.com/.well-known/x402.
servers:
- url: https://x402git.com
tags:


# --- truncated at 32 KB (94 KB total) ---
# Full source: https://artifacts.apis.io/x402git-com/openapi/x402git-com-creator-api-openapi.yml