Combining URL Parameters
URL parameters can be chained together to build powerful data workflows — all from a single URL. This page shows real-world recipes for common scenarios.
How Parameters Chain
Append parameters to your endpoint URL with ? for the first and & for each additional:
https://api.csvgetter.com/abc123?param1=value1¶m2=value2¶m3=value3Parameters are processed in this order:
Authentication — Bearer token checked (if enabled)
Data fetch — Full dataset retrieved from source
all_fields— Override field selection (if set)extract_json_property— Flatten linked records (if set)sql— SQL query applied to filter/transform datatype— Output format appliednest_json— JSON output wrapped in key (if set)filename_timestamp— Filename modified (if set)Side effects —
email_me,save_to_gdrive,save_to_gsheets, etc.
Recipe 1: Filter with SQL + Output as JSON + Email Notification
Scenario: You want active customers as JSON and get an email each time it runs.
sql
SELECT name, email, plan FROM csvgetter WHERE status='Active' ORDER BY name
Filter to active, select 3 columns, sort
type
json_records
JSON array of objects
email_me
true
Email notification
email_tag
active-customers
Label the notification
Recipe 2: Export to Google Drive with Timestamped Filename
Scenario: Daily backup of your Airtable data to Google Drive, with each file uniquely named.
save_to_gdrive
true
Save to connected Google Drive
filename_timestamp
true
Append _2025-03-15T143022 to filename
Result: A file like Customers_2025-03-15T143022.csv appears in your Google Drive.
With timestamp at the start:
Result: 2025-03-15T143022_Customers.csv
Recipe 3: SQL Aggregation as Nested JSON for an API
Scenario: You're building a dashboard that expects data nested under a data key, showing department headcounts.
sql
SELECT department, COUNT(*) as headcount...
Aggregate by department
type
json_records
JSON output
nest_json
data
Wrap result in {"data": [...]}
Response:
Recipe 4: Interactive Table for Stakeholders
Scenario: Share a browsable, searchable view of your data with non-technical team members.
type
dynamic_table
Interactive HTML with search + pagination
sql
SELECT name, role, department, start_date...
Select relevant columns, sort by date
Share this URL directly — recipients see a searchable table in their browser.
Recipe 5: Excel Import with Loading Page
Scenario: Large dataset that takes a few seconds to load. You want a "please wait" page rather than a browser timeout.
type
excel_web_query
Format for Excel's "From Web"
show_wait_page
true
Show loading page while data fetches
Recipe 6: Top 10 Records as XML
Scenario: Your integration requires XML and you only need the most recent 10 entries.
sql
...ORDER BY created_at DESC LIMIT 10
Latest 10 records
type
xml
XML output
Recipe 7: Filtered Data to Google Sheets
Scenario: Update a specific Google Sheet with only high-priority items.
sql
...WHERE priority='High'
Filter to high priority
save_to_gsheets
true
Write to Google Sheets
spreadsheet
Your spreadsheet ID
Target spreadsheet
sheet
Sheet1
Target sheet/tab
Recipe 8: Flattened Linked Records as JSON
Scenario: Your Airtable has linked record fields that return as JSON arrays. You want to extract just the names.
extract_json_property
name
Extract name from linked record objects
type
json_records
JSON output
Before:
After:
Recipe 9: Upload Training Data to OpenAI
Scenario: Send a filtered dataset to OpenAI for use with the Assistants API.
sql
...WHERE verified='true'
Only verified Q&A pairs
save_to_openai
true
Upload to OpenAI
save_to_openai_filename
qa_training_data.csv
Custom filename
Recipe 10: Authenticated Export with Email + Drive Backup
Scenario: Secure endpoint that also saves to Drive and notifies you.
Auth header
Bearer my-secret-token
Authenticate the request
save_to_gdrive
true
Backup to Drive
filename_timestamp
end
Unique filename
email_me
true
Notification
email_tag
secure-backup
Label for the notification
Last updated
Was this helpful?