Connection Test
Test your API key and verify your connection to the Agent API. This tool calls the live API from your browser.
What This Tests
- API Key Validation — Calls
GET /meto verify your key and show account info - Rate Limits — Displays your current usage against per-minute and monthly limits
- Search — Runs a test search near Berlin (52.52, 13.40) to verify the search pipeline works
Troubleshooting
| Result | Cause | Fix |
|---|---|---|
| API Key Invalid (401) | Wrong or expired key | Check the key, contact your account manager |
| API Key Invalid (403) | Account suspended | Contact your account manager |
| Search Failed (429) | Rate limit exceeded | Wait for Retry-After seconds |
| Network Error | CORS or connectivity issue | Check your network, try again |
Manual Test
If you prefer to test from the command line:
# Test auth
curl -s https://api.petitmonde.energy/api/v1/client/me \
-H "X-API-Key: YOUR_API_KEY" | jq .
# Test search
curl -s "https://api.petitmonde.energy/api/v1/client/search?lat=52.52&lng=13.40&radius=10&limit=3" \
-H "X-API-Key: YOUR_API_KEY" | jq .