Run a data query
Returns up to limit rows for the requested fields over the requested date range. Supports filters, settings and period-over-period comparison via compare_to. Pagination is via cursor. Cursors are bound to the exact query+account; mutating any input invalidates the cursor and the response is treated as a fresh first page. Numeric values that cannot be computed (for example a ratio with a zero denominator) are returned as null. An error with error_code: PROVIDER_UNAVAILABLE means the platform behind the data source is throttling requests or failing temporarily: it is not an error of the client, and the same request should be retried later.
Request
- Base URL: https://api.reportingninja.com/v1
- URL: https://api.reportingninja.com/v1/query
- Auth: HTTP bearer
Request body
Response
The answer of the call, or a business error envelope. This endpoint reports its own errors with HTTP 200 and status=error: read envelope.status before reading data.
Changes
No recorded changes to this operation across all 1 revision of this API.