REST
POST the input as JSON to the synchronous endpoint and the dataset rows come back in the response (up to 300 seconds). For larger jobs start an asynchronous run, poll it and download the dataset as JSON, CSV or XLSX.
curl -X POST "https://api.apify.com/v2/actors/sfoln~fx-rates/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"pairs":["USD/EUR","EUR/GBP","GBP/JPY@2024-01-05"]}'