Documentation
Welcome to XO Development. This guide will help you build, deploy, and monetize APIs using our AI-powered platform.
Quick Start
Get your first API running in under 5 minutes:
- Create an account at xodevelopment.com/signup
- Open the Playground and describe your API to the AI assistant
- Test your code using the Run button
- Deploy with one click and get your API endpoint
Authentication
All API requests require authentication using a Bearer token or API key.
Example Requestcurl -X POST "https://xodevelopment.com/api/v1/your-api-id" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "your data"}'
Keep your API keys secure. Never expose them in client-side code or public repositories.
Using the Playground
The Playground is your workspace for building APIs. It includes:
- AI Assistant - Describe what you want, get working code
- Code Editor - Edit and customize the generated code
- Live Testing - Run your code and see results instantly
- One-Click Deploy - Go from code to live API in seconds
AI Code Generation
Our AI understands natural language descriptions and generates production-ready Python code. Examples:
Good Prompts"Create an API that validates email addresses and checks if the domain exists"
"Build an endpoint that converts currencies using live exchange rates"
"Make an API that analyzes text sentiment and returns positive/negative/neutral"
Deploying Your API
When you deploy, we:
- Containerize your code with Docker
- Deploy to our global infrastructure
- Generate your unique API endpoint
- Create an API key for authentication
- Auto-generate documentation
Listing on Marketplace
To sell your API (Pro plan required):
- Build and deploy your API
- Click "List on Marketplace" during deployment
- Set your price (monthly subscription)
- Connect your Stripe account in Seller Dashboard
- Start earning when others subscribe
Receiving Payouts
We use Stripe Connect for all payments:
- Revenue split: You keep 85%, we take 15%
- Instant payouts: Available to your debit card
- Standard payouts: 2-day bank transfer
API Endpoints
Authentication
POST /api/auth/signup{
"name": "Your Name",
"email": "you@example.com",
"password": "securepassword"
}
{
"email": "you@example.com",
"password": "yourpassword"
}
Deployed APIs
POST /api/v1/{api_id}Headers:
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Body: (depends on your API)
Error Handling
All errors return a JSON object with an error message:
{
"error": "Description of what went wrong",
"code": "ERROR_CODE"
}
Common error codes:
- 401 - Invalid or missing authentication
- 403 - Access forbidden (subscription required)
- 404 - API or resource not found
- 429 - Rate limit exceeded
- 500 - Server error