The Turtle Earn API publishes an OpenAPI 3.0 specification that you can use for client generation, API testing, and documentation tooling. Raw spec URL:Documentation Index
Fetch the complete documentation index at: https://docs.turtle.xyz/llms.txt
Use this file to discover all available pages before exploring further.
https://earn.turtle.xyz/docs/openapi.json
What you can do with it
- Import into Postman or Insomnia for interactive API testing
- Generate TypeScript or Python clients with
openapi-generator - Use with Swagger UI locally for browsing endpoints
Generate a TypeScript client
The spec is generated from the live API. Three fields confirmed in the raw spec are now documented on the Opportunities page:
minDepositAmountUsd, swapDirectEnabled, swapRouteEnabled.
