Billing
Export billing period ledgers as CSV
Admin-only endpoint that exports bounded billing period ledger rows as raw CSV for finance evidence packs. The default window is the last 30 days by period_end. This endpoint returns text/csv directly and does not use the standard JSON envelope.
get/admin/billing/exports/period-ledgers.csv
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/admin/billing/exports/period-ledgers.csv
- Auth: API key in header x-api-key
Query parameters
fromstring
Period-end lower bound in RFC3339 format
tostring
Period-end upper bound in RFC3339 format
plan'Free' | 'Starter' | 'Growth' | 'Pro' | 'Business' | 'Enterprise' | 'Admin'
Billing plan
status'open' | 'closed'
Ledger status
has_mismatchboolean
Filter ledgers with or without mismatch flags or non-zero mismatch total
limitinteger
Maximum rows to export. Defaults to 1000 and clamps to 10000.
Headers
x-api-keystring required
Admin API key required unless an Admin JWT is already present
Response
Raw CSV
Changes
No recorded changes to this operation across all 2 revisions of this API.