API Explorer
Interactive API testing and documentation tool for earnlayer
What is the API Explorer?
The earnlayer API Explorer is an interactive tool for testing, exploring, and integrating with the earnlayer REST API.
Getting Started
Features
Interactive Testing
Test any earnlayer API endpoint with real-time validation and error handling.
Code Snippets
Get ready-to-use code examples in TypeScript, Python, JavaScript, and cURL. Code snippets update automatically as you modify request parameters.
LLM Context Documentation
Copy complete API documentation optimized for AI assistants. Perfect for Claude, ChatGPT, or custom LLM integrations.
Request History
Save and replay previous requests. Filter by status or search, and export history as JSON.
Environment Switching
Test against Production, Staging, or Local development environments.
cURL Export
Export any request as a ready-to-use cURL command for testing in your terminal.
API Explorer vs SDK
Use the API Explorer when:
- •Building custom integrations (non-React/Next.js)
- •Need direct API control
- •Want to test endpoints before integration
- •Need code snippets for your stack
Use the SDK when:
- •Building React/Next.js applications
- •Want pre-built components
- •Prefer declarative integration
Both approaches work together! The API Explorer and SDK provide the same features and can be used together in your application.