Quickstart

Copy-pasteable quickstart examples for the growthepie API in curl, Python, and JavaScript.

This page answers the most common first question directly: how do I make a correct growthepie API request right now? The examples below are complete, runnable, and use real public endpoints that do not require authentication.

Key Facts

  • Base URL: https://api.growthepie.com/

  • Auth: No authentication required for the public endpoints documented here

  • Best first endpoint: https://api.growthepie.com/v1/master.json

  • Flat export shape: metric_key, origin_key, date, value

curl

curl -s https://api.growthepie.com/v1/export/txcount.json

Python

import requests

url = "https://api.growthepie.com/v1/export/txcount.json"
response = requests.get(url, timeout=30)
response.raise_for_status()

rows = response.json()
print(f"rows={len(rows)}")
print(rows[0])

JavaScript / TypeScript

Example Response

Real Task: Fetch One Chain's Transaction Count History

FAQ

What should I fetch before choosing an origin_key?

Fetch master.json. master.json is the canonical metadata file for supported chains and supported metrics.

When should I use fundamentals.json instead?

Use fundamentals.json when you want many fundamental metrics together in one 90-day daily export.

Last updated