Developer
Documentation
Everything you need to integrate with The Glitch Store API proxy.
Quick Start
1. Create an account and sign in to your dashboard
2. Generate an API key from your dashboard
3. Make requests to the secure proxy endpoint
Try it now — Web to Markdown
Our most popular API. Convert any web page to clean markdown in one call. Replace gstore_your_key_here with your key and the URL with any target page.
curl -X POST "https://theglitchstore.com/api/secure-proxy?api=web-to-markdown&path=/api/convert" \
-H "x-api-key: gstore_your_key_here" \
-H "Content-Type: application/json" \
-d '{ "url": "https://example.com" }'Response: a 200 OK with the page rendered as markdown. One call = 1 credit ($0.01).
Base URL
https://theglitchstore.com/api/secure-proxy
All customer API calls go through this endpoint with query parameters for routing. Supabase edge proxy paths are internal-only.
Authentication
Include your API key in the x-api-key header:
curl -X GET "https://theglitchstore.com/api/secure-proxy?api=your-api-slug&path=/" \ -H "x-api-key: gstore_your_key_here"
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| api | Yes | API slug from the marketplace (e.g. your-api-slug) |
| path | No | Path handled by the selected API implementation (e.g. /latest/USD) |
| * | No | Any additional query params are passed to the selected first-party API implementation |
Error Codes
| Code | Meaning |
|---|---|
| 401 | Missing or invalid API key |
| 402 | Insufficient credits |
| 404 | API not found |
| 429 | Rate limit exceeded |
| 500 | Internal proxy error |
SDKs & Libraries
No SDK required — The Glitch Store works with any HTTP client. Use curl, fetch, axios, or any language's HTTP library.