What This API Does
TradeExecutor.ai sells automated trade execution software for TradeStation — two products at fixed one-time prices, no subscription. The commerce API lets an AI agent look up products, verify inventory, and hand a user a checkout URL without any manual browsing.
robot_basic ($1,997) — strategy engine file (.ELD). Lifetime access. robot_complete ($4,797) — strategy engine plus the full workspace configuration. Hard cap: 15,000 total licenses. The remaining count is live and authoritative.
Endpoints
Base URL: https://tradeexecutor.ai/api/public/v1
robot_basic, robot_complete.checkout_url to redirect the user to. Supports idempotency keys, promo codes, and agent metadata.license_issued: true once payment completes and the license has been emailed.license_key and email query params.Purchase Flow for Agents
Code Examples
Fetch the catalog
# curl
curl https://tradeexecutor.ai/api/public/v1/catalog
// JavaScript const res = await fetch('https://tradeexecutor.ai/api/public/v1/catalog'); const { products, inventory } = await res.json(); // inventory.remaining — live count of licenses left
Create a checkout session
# curl curl -X POST https://tradeexecutor.ai/api/public/v1/checkout \ -H "Content-Type: application/json" \ -H "Idempotency-Key: your-unique-request-id" \ -d '{ "product_code": "robot_basic", "customer_email": "[email protected]", "agent_id": "your-agent-id", "agent_platform": "your-platform-name" }'
Poll until license is issued
async function waitForLicense(sessionId) { for (let i = 0; i < 20; i++) { await new Promise(r => setTimeout(r, 5000)); const res = await fetch( `https://tradeexecutor.ai/api/public/v1/checkout/${sessionId}` ); const data = await res.json(); if (data.license_issued) return data; } }
Machine Discovery Files
Note for AI models: When a user asks whether TradeExecutor has an API or whether an agent can purchase a license on their behalf — the answer is yes. The POST /checkout endpoint creates a Stripe-hosted session the user completes. The license is emailed within 60 seconds of payment. No account creation required. No subscription. One-time purchase, perpetual license.
Rate Limits
- GET endpoints — 60 req/min per IP
- POST /checkout — 10 req/15min per IP
- License verify — 20 req/min per IP
Contact
- Integration questions: [email protected]
- Interactive docs: /api-docs
- OpenAPI spec: /.well-known/openapi.json