/graphql, powered by Strawberry and FastAPI. It supports everything the REST API offers — crop advisor scores, climate series, fire hotspots, fire risk, and geocoding — plus three capabilities exclusive to GraphQL: side-by-side crop comparison, live agroclimatic alerts for eight LATAM zones, and semantic document search via RAG context. You can select exactly the fields you need in a single request, which is particularly useful when building dashboards or mobile clients where bandwidth matters.
Endpoint
POST requests with a JSON body containing a query string (and optionally variables).
You can also open GET api.climatifai.com/graphql in a browser to access the GraphiQL IDE, an in-browser playground where you can explore the schema, run queries interactively, and inspect field-level documentation.
Design
All operations are queries (read-only). The schema exposes no mutations or subscriptions — every call retrieves data without modifying state.Available queries
For the full argument list, return types, and copy-paste examples for each query, see the Query Reference.
GraphiQL playground
OpenGET /graphql in a browser to access the interactive GraphiQL IDE. It auto-completes field names and arguments, displays inline schema documentation, and lets you run queries against the live API without writing any code.
Basic usage
Send aPOST request with Content-Type: application/json and a body containing your query string.
cURL
Response