Overview
Badlands Labs provides secure, unified API proxy infrastructure for accessing OpenAI and Anthropic endpoints through a single integration point.
Unified Access
One API key to access both OpenAI and Anthropic models through a single endpoint.
Real-time Analytics
Monitor request volumes, latency distributions, and error rates from your dashboard.
Rate Limiting
Intelligent rate limiting with per-user quotas and burst handling for production workloads.
Enterprise Security
End-to-end encryption, API key management, and SOC 2 compliant infrastructure.
Quick Start
Get up and running with Badlands Labs in three simple steps.
Create an Account
Sign up at badlandslabs.com/signup to create your account and generate an API key.
Configure Your SDK
Set the base URL to https://api.badlandslabs.com/v1 and authenticate with your API key.
Start Building
Make requests to any supported model. The proxy handles routing, rate limiting, and analytics automatically.
All Badlands Labs API keys use the prefix sk-bdl-api03- followed by a 24-character alphanumeric string.
Authentication
Badlands Labs uses Bearer token authentication. Include your API key in the Authorization header of every request.
curl https://api.badlandslabs.com/v1/chat/completions \
-H "Authorization: Bearer sk-bdl-api03-your-key-here" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.5-router",
"messages": [{"role": "user", "content": "Hello, world!"}]
}'
Never expose your API key in client-side code, public repositories, or shared documents. If compromised, rotate immediately from your dashboard.
OpenAI Compatibility
Badlands Labs provides full OpenAI API compatibility. Point your existing OpenAI SDK or HTTP client to our endpoint and swap your API key.
Chat Completions
curl https://api.badlandslabs.com/v1/chat/completions \
-H "Authorization: Bearer sk-bdl-api03-your-key-here" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.5-router",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Explain quantum computing in simple terms."}
],
"max_tokens": 512,
"temperature": 0.7
}'
Anthropic Compatibility
Access Claude models through our Anthropic-compatible endpoint. The proxy translates requests and responses to match the Anthropic API format.
curl https://api.badlandslabs.com/v1/messages \
-H "Authorization: Bearer sk-bdl-api03-your-key-here" \
-H "Content-Type: application/json" \
-H "anthropic-version: 2023-06-01" \
-d '{
"model": "anthropic/claude-4-6-sonnet-router",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Hello, Claude!"}
]
}'
anthropic/claude-4-6-sonnet-router (mapped dynamically to MiniMax-M2.7 upstream).
Base URLs
Standardize all API requests using the following base URLs:
SDK Samples
OpenAI Python SDK
from openai import OpenAI
client = OpenAI(
api_key="sk-bdl-api03-your-key-here",
base_url="https://api.badlandslabs.com/v1"
)
response = client.chat.completions.create(
model="openai/gpt-5.5-router",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
Anthropic Python SDK
import anthropic
client = anthropic.Anthropic(
api_key="sk-bdl-api03-your-key-here",
base_url="https://api.badlandslabs.com/v1"
)
message = client.messages.create(
model="anthropic/claude-4-6-sonnet-router",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello!"}]
)
print(message.content[0].text)
OpenAI Node.js SDK
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'sk-bdl-api03-your-key-here',
baseURL: 'https://api.badlandslabs.com/v1'
});
const response = await client.chat.completions.create({
model: 'openai/gpt-5.5-router',
messages: [{role: 'user', content: 'Hello!'}]
});
console.log(response.choices[0].message.content);
@anthropic-ai/sdk
import Anthropic from '@anthropic-ai/sdk';
const client = new Anthropic({
apiKey: 'sk-bdl-api03-your-key-here',
baseURL: 'https://api.badlandslabs.com/v1'
});
const message = await client.messages.create({
model: 'anthropic/claude-4-6-sonnet-router',
max_tokens: 1024,
messages: [{role: 'user', content: 'Hello!'}]
});
console.log(message.content[0].text);
Chat Completions
curl https://api.badlandslabs.com/v1/chat/completions \
-H "Authorization: Bearer sk-bdl-api03-your-key-here" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.5-router",
"messages": [{"role": "user", "content": "Hello!"}]
}'
Claude Messages
curl https://api.badlandslabs.com/v1/messages \
-H "Authorization: Bearer sk-bdl-api03-your-key-here" \
-H "Content-Type: application/json" \
-H "anthropic-version: 2023-06-01" \
-d '{
"model": "anthropic/claude-4-6-sonnet-router",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello!"}]
}'
Node Health
Real-time infrastructure health indicators across all gateway nodes.
90-Day Uptime History
Latency Metrics
Request latency distributions across all endpoints over the past 24 hours.
Incident History
Completed database migration from 01:00-03:00 UTC. All systems operational. No user impact.
Increased rate limits for Pro tier users. Processing capacity expanded by 40%.
Deployed edge caching improvements. Average latency reduced by 23% for US-based requests.
Automated failover triggered during node maintenance. Mean time to recovery: 47 seconds.
Contact Us
For general inquiries, technical questions, or partnership opportunities, reach out to our team.
Frequently Asked Questions
Badlands Labs acts as a unified proxy layer. You get a single API key and endpoint for all providers, built-in rate limiting, analytics, and the ability to switch providers without changing your code.
Navigate to your dashboard and select "API Keys" from the sidebar. Click "Rotate" next to the key you want to replace. The old key becomes invalid immediately.
Requests exceeding your quota receive a 429 status code. Implement exponential backoff in your client. Upgrade your plan for higher limits.
Yes. Free tier includes 100 requests/day and 10 requests/minute. Sign up at badlandslabs.com/signup to get started.
No. Request/response bodies are not persisted to disk. They pass through our infrastructure for routing only. See our Privacy Policy for full details.
Privacy Policy
Information We Collect
When you use Badlands Labs, we collect information necessary to provide and improve our services:
- Account Information: Email address, name, and account credentials when you register
- Usage Data: API request metadata including timestamps, endpoint paths, model names, and request sizes
- Usage Analytics: Aggregated metrics on request volumes, latency distributions, and error rates per user
- Log Data: Server-side logs containing request headers (excluding API key content), IP addresses, and response codes
How We Use Your Information
We use collected information for:
- Providing, maintaining, and improving our API proxy services
- Processing API requests through our infrastructure to OpenAI and Anthropic endpoints
- Generating usage dashboards and analytics for your account
- Communicating about service updates, security notices, and billing
- Detecting, preventing, and addressing technical issues and abuse
Proxy Processing and Data Handling
Badlands Labs operates as an API proxy service. When you send requests through our infrastructure:
- Your API requests are routed through our servers to the target AI provider (OpenAI or Anthropic)
- We do not store the content of your prompts or completions beyond what is required for brief operational buffering
- Request/response bodies are not persisted to disk in our infrastructure
- Your API key is validated against our database and then passed through to the target provider
- All traffic is encrypted in transit using TLS 1.2 or higher
Data Retention
We retain different types of data for different periods:
- Account Data: Retained for the duration of your account plus 90 days after deletion
- Usage Logs: Aggregated statistics retained for 13 months for billing and analytics purposes
- Operational Logs: Server logs retained for 30 days for debugging and security purposes
- API Request Metadata: Path, timestamp, and status code retained for 90 days; full headers excluded after validation
Data Security
We implement industry-standard security measures:
- All data encrypted in transit using AES-256 or TLS 1.2+
- API keys hashed using bcrypt before storage
- Access logs maintained with immutable storage for audit trails
- Regular third-party security audits conducted quarterly
- Infrastructure hosted in SOC 2 Type II compliant data centers
Your Rights
Depending on your location, you may have:
- Access: Request a copy of personal data we hold about you
- Rectification: Request correction of inaccurate personal data
- Deletion: Request deletion of your personal data
- Portability: Request your data in a structured format
- Opt-out: Unsubscribe from marketing communications at any time
Contact Us
For questions about this Privacy Policy or to exercise your rights:
Terms of Service
Acceptance of Terms
By accessing or using Badlands Labs services, you agree to be bound by these Terms of Service. If you do not agree to these terms, do not use our services.
Description of Service
Badlands Labs provides an API proxy infrastructure that routes requests to underlying AI service providers including OpenAI and Anthropic. Our service provides unified access, rate limiting, analytics, and other infrastructure features.
Account Registration
To use Badlands Labs, you must:
- Provide accurate, current, and complete information during registration
- Maintain and update your information to keep it accurate and current
- Be at least 16 years of age or have parental consent if younger
- Not register more than one account unless explicitly permitted
- Be responsible for all activity under your account
API Key Management
Your API key is the sole credential for authenticating requests. You agree to:
- Keep your API key confidential and never share it publicly
- Treat your API key with the same security as a password
- Immediately revoke and regenerate your key if you suspect compromise
- Accept all charges incurred through your API key, whether authorized or not
- Use only the API key format provided (
sk-bdl-api03-*prefix)
Acceptable Use Policy
You agree not to use Badlands Labs to:
- Violate any applicable laws, regulations, or third-party rights
- Generate spam, malware, or content for illegal activities
- Attempt to circumvent rate limits or exploit system vulnerabilities
- Resell or redistribute our services without explicit permission
- Use automated tools to overwhelm or test our infrastructure
- Interfere with, disrupt, or damage our services or infrastructure
- Impersonate any person or entity or falsely represent your affiliation
Rate Limits and Quotas
Usage is subject to rate limits and quotas as specified in your plan:
- Free Tier: 100 requests/day, 10 requests/minute
- Pro Tier: 10,000 requests/day, 100 requests/minute
- Enterprise: Custom limits as agreed in contract
Exceeding rate limits may result in temporary request rejection (429 status code).
Payment and Billing
For paid tiers:
- Subscription fees are billed monthly in advance
- Usage overages are billed at the end of each billing cycle
- All fees are non-refundable unless required by law
- Failed payments may result in service suspension after 7 days
- Price changes will be communicated 30 days in advance
Disclaimer of Warranties
OUR SERVICES ARE PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED. WE DO NOT WARRANT THAT THE SERVICE WILL BE UNINTERRUPTED, ERROR-FREE, OR COMPLETELY SECURE.
Limitation of Liability
TO THE MAXIMUM EXTENT PERMITTED BY LAW, BADLANDS LABS SHALL NOT BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS, DATA, OR USE.
Contact Information
For questions about these Terms of Service: