URL Parameters

Every CSV Getter export endpoint supports query parameters that modify the output dynamically. Append them to your endpoint URL.

https://api.csvgetter.com/abc123?param1=value1&param2=value2

Quick Reference

Parameter
Values
Description

type

json_records, xml, html_table, etc.

Override output format

sql

SQL query string

Filter and transform data with SQL

nest_json

Key name string

Wrap JSON output in a named key

filename_timestamp

true, end, start

Add timestamp to download filename

extract_json_property

Property name string

Extract a specific property from linked records

all_fields

true

Include all fields from the source

show_wait_page

true

Show a loading page before delivering data

save_to_gdrive

true

Save export to Google Drive

save_to_gsheets

true

Save export to Google Sheets


Detailed Reference

type

Override the output format for this request.

Values: json_records, json_split, json_index, json_columns, json_values, json_table, xml, html_table, dynamic_table, excel_web_query

Example:

Returns your data as a JSON array of objects instead of CSV.

Returns your data as an XML document.

See The Type Parameter for sample output for every format.


sql

Run a SQL query against your data to filter, sort, aggregate, or transform it.

Value: A SQL SELECT statement. The table name is always csvgetter.

Example — filter rows:

Example — select specific columns and sort:

Example — aggregate:

Example — limit results:

Remember to URL-encode the query if building URLs manually. Spaces become %20, = becomes %3D, etc.

See The SQL Parameter for 19+ examples.


nest_json

Wrap JSON output in a top-level key. Only applies when the output is a JSON format.

Value: The key name to wrap the data in.

Example:

Without nest_json:

With nest_json=items:

Useful when your consuming application expects data nested under a specific key.


filename_timestamp

Add a UTC timestamp to the downloaded filename.

Values:

  • true or end — Append timestamp to the end: My_Export_2025-03-15T143022.csv

  • start — Prepend timestamp to the beginning: 2025-03-15T143022_My_Export.csv

Example:

The timestamp format is YYYY-MM-DDTHHMMSS in UTC.


extract_json_property

When your Airtable data contains linked records (which come as JSON arrays), extract a specific property from each linked record.

Value: The property name to extract.

Example:

Without this parameter, a linked record field might show:

With ?extract_json_property=name, it becomes:


all_fields

Include all fields from the source table, overriding the field selection you configured in the endpoint.

Value: true

Example:

Note: This parameter must be enabled for your endpoint. It requires a custom parameter configuration. Contact support or check your endpoint settings if you receive a 400 error.


show_wait_page

Display a loading page in the browser while the data is being fetched, then redirect to the data.

Value: true

Example:

This is useful for large datasets where the export takes several seconds. Instead of the browser appearing to hang, users see a "Please wait" page.


save_to_gdrive

Save the export output as a file to your connected Google Drive.

Value: true

Example:

Requires a connected Google account. The file is saved to your Google Drive root folder.

Combine with filename_timestamp to avoid overwriting previous exports:


save_to_gsheets

Save the export output directly to a Google Sheets spreadsheet.

Value: true

Example:

Requires a connected Google account and the spreadsheet/sheet parameters.


Combining Parameters

All parameters can be combined freely:

Last updated