Fetch A Metric In curl
Use curl to fetch a growthepie metric export and filter it locally.
This recipe fetches one full metric export with curl and filters it with jq. Use this recipe when you want a fast shell-based workflow without writing a full script.
Example
curl -s https://api.growthepie.com/v1/export/txcount.json \
| jq '[.[] | select(.origin_key == "arbitrum")] | .[0:5]'What This Does
Downloads the public
txcountexportFilters rows to one
origin_keyPrints the first five matching rows
Related Pages
Last updated
