Go to example tasks

Enrich a CSV with data from a JSON API

Add columns to a spreadsheet by calling a JSON API once per row. This example looks up the city, state and coordinates of postal codes from a public API and keeps only the fields you name, but the same setup works with any REST API: put {{column}} in the URL, map response fields to output columns, and export the result as CSV or Excel.

Try for free
Bulk HTTP Requests — API Calls for Clay, n8n, CSV & Datasets
Bulk HTTP Requests — API Calls for Clay, n8n, CSV & Datasetssaliga/bulk-http-requests
#
Method
URL
Status
+5 fields
Text
Number
Boolean
List
Object

Input

URL template:https://api.zippopotam.us/{{country}}/{{zip|url}}
Method:GET
Headers
Query parameters
Rows as CSV:country,zip us,90210 de,10115 fr,75008 es,28001 us,00000
Max rows:0
Extract fields from JSON responses:{5 fields}
Parallel requests:5
Max requests per second per host:5
Retries:1
Timeout per attempt (seconds):30
Keep non-JSON response body:true
Max response size (KB):1000

Output fields

#
Method
URL
Status
OK
ms
Queued ms
Attempts
Error

How it works

Sign up on Apify or log in

The Bulk HTTP Requests — API Calls for Clay, n8n, CSV & Datasets Actor is ready to run with the inputs already set for "Enrich a CSV with data from a JSON API". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Enrich a CSV with data from a JSON API" task

The Bulk HTTP Requests — API Calls for Clay, n8n, CSV & Datasets Actor will start running based on the input automatically. You can also change all the input fields, like URL template, method, and more, to match your specific use case.

Receive the "Enrich a CSV with data from a JSON API" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as #, method, URL, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Enrich a CSV with data from a JSON API" task via API.

Image

Integrate "Enrich a CSV with data from a JSON API" into your workflow

Connect "Enrich a CSV with data from a JSON API" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay