Properties
| Name | Type | Description |
|---|---|---|
| gross_micro | object | |
| fee_micro | object | |
| net_micro | object | |
| withdrawable_micro | object | |
| held_micro | object | |
| gas_micro | object | |
| platform_fee_bps | integer | |
| holdback_days | integer | |
| next_release_at | object | |
| payout_address | object | |
| sales | array | |
| next_cursor | stringnull |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/x402git-com/json-schema/x402git-com-earnings-schema.json",
"title": "Earnings",
"x-generated": "2026-11-29",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/x402git-com-openapi.json#/components/schemas/Earnings",
"type": "object",
"properties": {
"gross_micro": {
"$ref": "#/$defs/MicroUsdc"
},
"fee_micro": {
"$ref": "#/$defs/MicroUsdc"
},
"net_micro": {
"$ref": "#/$defs/MicroUsdc"
},
"withdrawable_micro": {
"$ref": "#/$defs/MicroUsdc"
},
"held_micro": {
"$ref": "#/$defs/MicroUsdc"
},
"gas_micro": {
"$ref": "#/$defs/MicroUsdc"
},
"platform_fee_bps": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"holdback_days": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"next_release_at": {
"anyOf": [
{
"$ref": "#/$defs/IsoDateTime"
},
{
"type": "null"
}
]
},
"payout_address": {
"$ref": "#/$defs/Address"
},
"sales": {
"type": "array",
"items": {
"$ref": "#/$defs/EarningsSale"
}
},
"next_cursor": {
"type": [
"string",
"null"
]
}
},
"required": [
"gross_micro",
"fee_micro",
"net_micro",
"withdrawable_micro",
"held_micro",
"gas_micro",
"platform_fee_bps",
"holdback_days",
"next_release_at",
"payout_address",
"sales",
"next_cursor"
],
"additionalProperties": false,
"$defs": {
"Address": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "An EVM address, 0x-prefixed and 40 hex characters."
},
"EarningsSale": {
"type": "object",
"properties": {
"slug": {
"$ref": "#/$defs/Slug"
},
"version": {
"$ref": "#/$defs/SemVer"
},
"kind": {
"$ref": "#/$defs/SaleKind"
},
"gross_micro": {
"$ref": "#/$defs/MicroUsdc"
},
"fee_micro": {
"$ref": "#/$defs/MicroUsdc"
},
"net_micro": {
"$ref": "#/$defs/MicroUsdc"
},
"settled_at": {
"$ref": "#/$defs/IsoDateTime"
},
"holdback_until": {
"$ref": "#/$defs/IsoDateTime"
},
"paid_out": {
"type": "boolean"
}
},
"required": [
"slug",
"version",
"kind",
"gross_micro",
"fee_micro",
"net_micro",
"settled_at",
"holdback_until",
"paid_out"
],
"additionalProperties": false,
"description": "FR-29 / FR-40: never the buyer address, never the tx hash."
},
"IsoDateTime": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "RFC 3339 timestamp."
},
"MicroUsdc": {
"type": "string",
"pattern": "^\\d+$",
"title": "Micro-USDC",
"description": "An amount in micro-USDC (6 decimals) encoded as a decimal integer string. 9000000 = $9.00."
},
"SaleKind": {
"type": "string",
"enum": [
"new",
"update",
"free"
]
},
"SemVer": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+$",
"description": "A release version: the git tag with any leading `v` stripped."
},
"Slug": {
"type": "string",
"pattern": "^[a-z0-9-]{2,40}$",
"description": "A listing slug, unique per owner. `api`, `v`, `r` and `label` are reserved. Never reused after retirement."
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/x402git-com-earnings"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.