Integrate AI-powered analytics into your applications with our comprehensive REST API
Simple, consistent REST endpoints with JSON responses
Sub-second response times with intelligent caching
OAuth 2.0, API keys, and rate limiting built-in
Low latency access from anywhere in the world
/api/v1/queryqueryNatural language question
data_sourceData source identifier
formatResponse format (json, csv)
/api/v1/data-sourcespagePage number for pagination
limitNumber of results per page
/api/v1/data-sourcestypeType of data source (mysql, postgresql, csv, etc.)
connection_stringConnection details
nameDisplay name for the data source
/api/v1/charts/{id}idChart identifier
Start integrating PredictPilot into your applications today
Sign up for a PredictPilot account and generate your API key from the dashboard.
Authorization: Bearer your-api-key-hereTry our API with a simple natural language query.
curl -X POST https://api.predictpilot.com/v1/query \
-H "Authorization: Bearer your-api-key" \
-d '{"query": "Show me sales by month"}'