Get Started with TryAPI
Everything you need to integrate our APIs into your applications.
Quick Start
Get up and running in 3 simple steps
Get API Key
Sign up and create an API key from your dashboard.
Add Auth Header
Include your API key in the Authorization header.
Make Requests
Start calling APIs and build amazing products!
Authentication
How to authenticate your API requests
All API requests require authentication using a Bearer token in the Authorization header.
Authorization: Bearer sk_live_your_api_key_hereAPI Key Format
- Live keys start with
sk_live_ - Test keys start with
sk_test_ - Keys are 48 characters long
Security Best Practices
- Never expose keys in client-side code
- Use environment variables
- Rotate keys periodically
Important: Your API key is shown only once when created. If lost, you'll need to generate a new one.
Error Codes
Common errors and how to handle them
| Code | Status | Description |
|---|---|---|
200 | OK | Request successful |
400 | Bad Request | Invalid parameters or request body |
401 | Unauthorized | Missing or invalid API key |
402 | Payment Required | Insufficient balance or credits |
403 | Forbidden | IP not in whitelist or account suspended |
404 | Not Found | API endpoint does not exist |
429 | Too Many Requests | Rate limit exceeded |
500 | Server Error | Internal server error |
Error Response Format
{
"success": false,
"error": "Error message here",
"code": "ERROR_CODE"
}FAQ
Frequently asked questions
How do I get started?
Sign up for a free account, create an API key from your dashboard, and you're ready to go! Every new account gets 1,000 free API calls.
How does billing work?
We use a pay-as-you-go model. Each API has a per-call price. Free credits are used first, then your balance is charged. Check our pricing page for details.
What are IP whitelists?
You can restrict API key usage to specific IP addresses for enhanced security. Configure this in your API Keys settings.
What happens when I run out of credits?
API calls will return a 402 error. Add funds to your balance from thebilling page to continue using the APIs.
Is there a rate limit?
Yes, each API has a rate limit (typically 100 requests/minute). If exceeded, you'll receive a 429 error. Wait a moment and retry.
API Provider Documentation
Resources for API providers who want to monetize their APIs on TryAPI
Are you an API provider? TryAPI lets you list and monetize your APIs on our marketplace. Join our provider network and reach thousands of developers.
Provider Guide
Step-by-step guide to becoming an API provider: application process, adding APIs, setting pricing, and managing your provider dashboard.
Provider Program
Learn about the provider program, revenue sharing (70/30 split), features, and benefits of listing your APIs on TryAPI.
Revenue & Billing
Automatic billing, 70% revenue share, monthly payouts with $50 minimum threshold.
API Management
Add endpoints, set custom pricing, configure rate limits, and manage API documentation.
Gateway & Security
Requests are proxied through our gateway with auth, rate limiting, and usage tracking built in.
Ready to start building?