Welcome to API-Direct Console
Deploy, manage, and monetize your APIs - all from your browser. No CLI required.
Quick Actions
Recent Activity
Popular APIs
Quick Start Guide
🚀 Get Started in 2 Minutes
Deploy your first API with just 3 commands
Install CLI
npm install -g apidirect
Configure
apidirect config --api-key
Deploy
apidirect deploy api.py
Your API Key
Generate an API key to start deploying
Example: Deploy a Sentiment Analysis API
# 1. Create your API
cat > sentiment.py << 'EOF'
from apidirect import api
@api.post("/analyze")
def analyze_sentiment(text: str):
# Your ML logic here
return {"sentiment": "positive", "score": 0.89}
EOF
# 2. Deploy it
apidirect deploy sentiment.py --name my-sentiment-api
# 3. Your API is live!
# https://my-sentiment-api.apidirect.dev
CLI Setup
AI Agent Ready CLI
The API-Direct CLI is specifically designed for AI agent automation with non-interactive flags, structured output, and machine-readable responses.
1. Install the CLI
# macOS/Linux
curl -fsSL https://cli.apidirect.dev/install.sh | sh
# Windows
iwr -useb https://cli.apidirect.dev/install.ps1 | iex
# npm
npm install -g @api-direct/cli
2. Authenticate
apidirect login
Your API Token: apid_live_12345abcdef
Use this for automated deployments.
3. Deploy Your First API
# Create from template
apidirect init my-api --template sentiment-analyzer
# Deploy to hosted infrastructure
cd my-api
apidirect deploy --hosted --yes --output json
Billing & Subscription
Current Plan: Pro
Unlimited APIs, 1M requests/month
Usage This Month
Payment Method
Billing History
Payouts & Revenue
Loading payout information...
Account Settings
Profile Information
Plan & Billing
Deployment Preferences
Danger Zone
Deploy New API
Choose Deployment Method
Create from Template
Start with pre-built API templates
Import Existing Project
Deploy your existing API
Select a Template
Weather API
Real-time weather data with forecasts
GPT Wrapper
OpenAI integration with caching
Sentiment Analysis
Advanced emotion detection API
Import Existing Project
GitHub Connected
You can import repositories directly from your account
Import from GitHub
Connect your GitHub account or paste a repository URL
Your Repositories
Loading repositories...
Or enter a repository URL directly:
Or Upload Project Files
Upload your project as a ZIP file
Drag and drop your project ZIP here
or
Generated Manifest
name: my-api
version: 1.0.0
runtime: python3.9
framework: fastapi
endpoints:
- path: /
method: GET
description: Root endpoint
- path: /items
method: GET
description: List items
- path: /items/{id}
method: GET
description: Get item by ID
dependencies:
- fastapi==0.95.0
- uvicorn==0.21.0
- pydantic==1.10.0
deploy:
type: hosted
resources:
memory: 512MB
cpu: 0.5
Browse API Marketplace
Categories
All APIs
sentiment-analyzer-pro
by @aidevlabs
Advanced emotion detection with support for 50+ languages and real-time processing
global-weather-api
by @weathertech
Real-time weather data for 200K+ cities worldwide with 14-day forecasts
API Scaling & Performance
Select API to Scale
Scaling Configuration
Manual Scaling
Auto Scaling
Current Metrics
Environment Variables
Select API
Environment Variables
Security Notice
Environment variables are encrypted at rest and in transit. Changes will trigger a rolling deployment.
Publish API to Marketplace
Select API to Publish
sentiment-api
DEPLOYEDAdvanced emotion detection API
weather-api
DEPLOYEDReal-time weather data and forecasts
API Details
Pricing Model
Loading version management...
API Templates
Loading templates...
Pre-built API Templates
Choose from our collection of production-ready API templates. Each template includes built-in monetization, documentation, and deployment configuration.
AI/ML Templates
GPT Wrapper
OpenAI integration with caching
Image Classification
Computer vision API
Sentiment Analysis
Emotion detection API
Data Processing
ETL Pipeline
Data transformation API
CSV Processor
File processing service
Data Validator
Schema validation API
Integrations
Webhook Handler
Event processing API
OAuth Gateway
Authentication service
Email Service
Transactional email API
My Subscriptions
Active Subscriptions
sentiment-analyzer-pro
by @aidevlabs
global-weather-api
by @weathertech
Usage Summary
Search API Marketplace
24 APIs found
Page 1 of 3translation-api
by @linguatech
Real-time translation API supporting 100+ languages with context awareness
Featured APIs
API of the Month: GPT-4 Vision Wrapper
Advanced image understanding API with GPT-4 Vision integration. Process images, extract text, analyze content, and generate descriptions with state-of-the-art AI.
Editor's Choice
ai-code-reviewer
Automated code review with AI
crypto-analytics-api
Real-time crypto market data
New & Noteworthy
video-summarizer
AI video content analysis
pdf-ai-processor
Extract & analyze PDF content
Trending APIs
gpt-4-turbo-wrapper
Latest GPT-4 Turbo with vision capabilities
stock-market-predictor
AI-powered stock analysis and predictions
Logs & Status
API Keys
Create New API Key
Your API Keys
No API keys yet. Create your first key above.
My APIs
Your APIs
Analytics
Total API Calls
45,231
12% vs last period
Unique Users
892
8% vs last period
Avg Response Time
145ms
5% improvement
Error Rate
0.02%
0.01% increase
API Usage Over Time
Analytics charts will appear here
Security Settings
Two-Factor Authentication
Add an extra layer of security to your account by enabling two-factor authentication.
Status: Disabled
Protect your account with 2FA
API Key Permissions
Configure default permissions for new API keys.
Security Activity
Login from new device
Chrome on macOS • San Francisco, CA
API key created
Production API Key
Password changed
Successfully updated
Notification Preferences
Email Notifications
API Usage Alerts
Get notified when API usage exceeds limits
Payment Notifications
Receive updates about payments and subscriptions
Weekly Reports
Summary of your API performance and earnings
Security Alerts
Important security notifications
Recent Notifications
New API subscriber
Your Weather API got a new paid subscriber
10 minutes ago
Payment received
$125.00 from API subscriptions
2 hours ago
API rate limit warning
Sentiment API approaching rate limit
1 day ago
Help Center
Getting Started
Learn how to deploy your first API
API Reference
Complete API documentation
Troubleshooting
Common issues and solutions
Frequently Asked Questions
How do I deploy an API?
Simply run apidirect deploy
in your project directory. Our CLI will handle the rest!
What programming languages are supported?
We support Node.js, Python, Go, Ruby, and Java. More languages coming soon!
How does billing work?
You only pay for what you use. We charge based on API calls and data transfer. Check our pricing page for details.
Can I use custom domains?
Yes! You can configure custom domains for your APIs through the console or CLI.
Video Tutorials
Deploy Your First API
5 min tutorial
Setting Up Payments
8 min tutorial
Community
Active Developers
2,847
APIs Deployed
12,453
Forum Posts
8,921
Contributors
342
Join the Discussion
Featured APIs
Weather Forecast API
by @johndoe
Text Translation API
by @sarahk
Image Recognition API
by @ailab
Recent Community Activity
John Doe published a new API: PDF Generator API
2 hours ago
Sarah Kim answered a question in the forums
5 hours ago
AI Lab reached 1000 subscribers!
1 day ago
Contact Support
Live Chat
Chat with our team
Send us a Message
AI Agent Guide
Build APIs for the AI Economy
API-Direct is designed for AI agents and developers building autonomous systems. Deploy APIs that AI agents can discover, use, and pay for automatically.
AI-Friendly APIs
- OpenAPI 3.0 specifications for easy discovery
- Structured JSON responses
- Clear error messages and status codes
- Predictable rate limiting
Automated Payments
- Pay-per-use pricing models
- Cryptocurrency payment support
- Automated billing APIs
- Usage-based subscriptions
Example: AI Agent Using Your API
# AI Agent discovering and using your API
import requests
from apidirect import discover_api
# Discover available APIs
weather_api = discover_api("weather-forecast")
# Automatic authentication
headers = {"Authorization": f"Bearer {weather_api.get_token()}"}
# Make API call
response = requests.get(
f"{weather_api.base_url}/forecast",
params={"location": "San Francisco", "days": 7},
headers=headers
)
# Handle response
forecast = response.json()
print(f"7-day forecast: {forecast['summary']}")
# Automated payment happens in the background
Best Practices for AI-Ready APIs
API Design
- • Use descriptive endpoint names
- • Implement comprehensive error handling
- • Provide detailed API documentation
- • Support batch operations when possible
AI Integration
- • Include usage examples in docs
- • Offer sandbox environments
- • Implement semantic versioning
- • Provide webhook notifications
CLI Reference
Common Commands
apidirect init
Setup
Initialize a new API project with boilerplate code
$ apidirect init --template express ✓ Created project structure ✓ Installed dependencies ✓ Ready to deploy!
apidirect deploy
Deploy
Deploy your API to production
$ apidirect deploy ✓ Building project... ✓ Uploading to API-Direct... ✓ Deployed to: https://my-api.apidirect.dev
apidirect logs
Monitor
Stream real-time logs from your API
$ apidirect logs --follow 2024-01-15 10:23:45 [INFO] API started on port 3000 2024-01-15 10:23:47 [INFO] GET /api/users 200 45ms 2024-01-15 10:23:52 [INFO] POST /api/data 201 123ms
apidirect scale
Scale
Adjust your API's scaling settings
$ apidirect scale --min 2 --max 10 ✓ Updated scaling configuration Min instances: 2 Max instances: 10
Configuration
Global Config
Located at ~/.apidirect/config.yaml
api_key: your-api-key-here default_region: us-west-2 analytics: true telemetry: false
Project Config
Located at apidirect.yaml
name: my-awesome-api runtime: node18 memory: 512 timeout: 30 environment: NODE_ENV: production DATABASE_URL: $SECRET_DATABASE_URL
API Reference
REST API Overview
The API-Direct REST API allows you to programmatically manage your APIs, view analytics, and handle billing.
Base URL
https://api.apidirect.dev/v1
Authentication
Bearer YOUR_API_KEY
Endpoints
APIs
/apis
List all your APIs
/apis
Create a new API
/apis/{id}
Update an API
/apis/{id}
Delete an API
Analytics
/analytics/overview
Get analytics overview
/analytics/usage
Get detailed usage statistics
Example Requests
List APIs
curl -X GET https://api.apidirect.dev/v1/apis \
-H "Authorization: Bearer YOUR_API_KEY"
Create API
curl -X POST https://api.apidirect.dev/v1/apis \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "My API",
"description": "A great API",
"runtime": "node18"
}'