POST /costs/export/csv
Changed onSame data as POST /costs/export/json, returned as CSV instead of JSON. The CSV pivots the response into one row per day, with one column per resource ID that appears in the date range. Column count therefore varies depending on the data. See the JSON variant for the full request schema and the exclusive-to caveat.
Request
- Base URLhttps://api.brightdata.com
- URLhttps://api.brightdata.com/costs/export/csv
- AuthHTTP bearer
Request body
Response
CSV with a Day column followed by one column per resource ID. Example body:
Day,gd_l1viktl72bvl7bjuj0,gd_l1vikfnt1wgvvqz95w
2026-04-01,45.20,12.80
2026-04-02,38.10,0
Changes
- info
api operation id
exportCostsCsvwas added
- info