Transfer File
transferOne-shot file transfer with optional pricing and marketplace listing. Upload a file, set a per-download price, and list on the marketplace — all in a single call. Returns a shareable download URL. Supports free transfers, paid downloads, and marketplace listings. Provide EXACTLY ONE of: 'filePath' (local stdio — zero tokens), 'url' (remote fetch), or 'content' (base64 fallback).Over stdio no API key is required: without one you upload as a guest (100 MB, 24-hour link); a key raises the limits and lets you sell.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public HTTPS URL of the file to upload (server fetches it directly — no token cost). | |
| content | No | Base64-encoded file content (fallback when filePath and url are unavailable). | |
| fileName | No | Filename with extension. Required for 'content', optional for 'url'. | |
| filePath | No | Absolute path to a local file (stdio transport only — zero token cost). | |
| mimeType | No | MIME type override (auto-detected if omitted). | |
| listingTags | No | Discovery tags (max 8, alphanumeric + dash). | |
| listingTitle | No | Marketplace listing title (3–120 chars). When set, auto-lists the file on the marketplace once ready. | |
| payoutAddress | No | Wallet that a priced download pays out to. Only for running without an API key — it is what lets you sell with no account. Ignored when a key is set, because that account's payout address is a dashboard setting. Payments are final: a mistyped address is unrecoverable, and an exchange deposit address usually will not credit a Base transfer from a contract. | |
| idempotencyKey | No | Unique key for retry-safe transfers. Needs an API key; ignored without one. | |
| listingCategory | No | Marketplace category. | |
| pricePerDownload | No | Price per download in USD (e.g. 0.50). Downloaders pay in USDC. Omit or 0 for free. | |
| listingDescription | No | What the buyer gets (40–500 chars). Required when listingTitle is set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Market page URL (/m/<hash>) when a listing was requested | |
| ready | Yes | True when the file is downloadable right now | |
| status | Yes | Final status: READY, FAILED, or TIMEOUT | |
| uploadId | Yes | Unique upload identifier (e.g. up_a1b2c3d4e5f6g7h8) | |
| expiresAt | No | ISO 8601 expiration timestamp | |
| downloadUrl | No | Shareable download URL (works without auth, valid 24h) | |
| listingSkipped | No | Present when the listing was not created (daily listing limit); the file is still uploaded |