llms.txt Content
# TDM
# Machine payments for APIs, files, content, and AI agents.
# Public base URL: https://tdm.todealmarket.com
# Version: 0.0.1-beta
## Core entities
- TDM SDK
- Protocol-first HTTP contract
- Session Gas Tank
- Seller payouts
- MCP runtime guidance
- Solana
- Base
- USDC
## What TDM does
TDM is a machine-payments protocol for developers, platforms, and agent builders.
It turns APIs, routes, files, content, and agent tools into payable resources.
Teams can integrate through JavaScript/TypeScript SDKs or through a public HTTP contract from Python, Go, Java, Rust, C, and C++.
## Public integration paths
- JS SDK: `/docs/api/sdk`
- Protocol-first HTTP: `/docs/api/rest`
- Multi-language examples: `/docs/multi-language`
- Agent-facing guidance: `/docs/agent-pay`
- Installation: `/docs/installation`
- Quick start: `/docs/quick-start`
## Public contract summary
- Main payment decision endpoint: `POST /authorize`
- Resource registration: `POST /discovery/payable-resources`
- Session Gas Tank flows:
- `POST /v1/tanks/create-sub`
- `POST /v1/sessions/delegate`
- Seller payouts:
- `POST /publisher/payouts`
- `GET /publisher/payouts`
## Current product facts
- TDM supports framework-mode integrations in the SDK.
- TDM supports protocol-first integrations for non-JS stacks.
- Session Gas Tank is optional and used for selected agents or resources.
- MCP is a runtime guidance layer, not the payment rail itself.
- `tdm sweep` is for recovery/conversion.
- `tdm cashout` is the stablecoin return path.
## Files and docs that matter most
- `/docs`
- `/docs/api`
- `/docs/api/sdk`
- `/docs/api/rest`
- `/docs/multi-language`
- `/docs/agent-pay`
- `/docs/settlement`
- `/.well-known/ai-plugin.json`
- `/openapi.yaml`
## Search-friendly summary
TDM is a machine-payments protocol for APIs, files, content, and AI agents. It provides an SDK, a protocol-first HTTP contract, Session Gas Tank, seller payouts, and MCP-aware runtime guidance.
OpenAPI Spec (preview)
openapi: 3.1.0
info:
title: TDM Public HTTP Contract
version: 0.0.1-beta
description: |
Public TDM contract for machine payments, payable resources, Session Gas Tank,
seller payouts, and protocol-first integrations.
servers:
- url: https://tdm.todealmarket.com
paths:
/authorize:
post:
summary: Authorize a paid request
description: Check whether a request can proceed and return the current settlement decision.
requestBody:
required: true
con