Skip to content

Getting Started

This guide walks you through making your first enrichment request to GraphADV. Every code sample is presented in cURL, Python, JavaScript, and TypeScript.

Before you begin, you’ll need:

  • An API key (get one at graphadv.com)
  • Basic knowledge of REST APIs and HTTP requests
  1. Visit graphadv.com
  2. Click Get API Key
  3. Sign in with your email address or Google account
  4. Your API key will be generated and displayed immediately
  5. Copy and securely store your API key

Set these values once and reuse them across every snippet:

Terminal window
export BASE_URL="https://api.graphadv.com/v2"
export GRAPHADV_API_KEY="YOUR_API_KEY"

All requests use the same header for authentication:

X-Api-Key: YOUR_API_KEY

Enrichment is async. You submit a request, get a job ID, then poll for results.

Terminal window
curl -X POST "$BASE_URL/enrich/company" \
-H "X-Api-Key: $GRAPHADV_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"domain": "stripe.com"
}'
{
"task_id": "job_abc123",
"status": "queued",
"message": "Enrichment queued for stripe.com",
"units_charged": 1,
"units_remaining": 99
}
Terminal window
curl "$BASE_URL/tasks/job_abc123" \
-H "X-Api-Key: $GRAPHADV_API_KEY"
{
"domain": "stripe.com",
"name": "Stripe",
"linkedin_url": "https://linkedin.com/company/stripe",
"industry": "Financial Services",
"employee_count": 8000,
"employee_range": "5001-10000",
"headquarters_city": "San Francisco",
"headquarters_state": "CA",
"headquarters_country": "USA",
"enrichment_status": "complete",
"enriched_at": "2026-01-15T10:30:00Z"
}

Once enriched, you can read company and person data for free.

Terminal window
# Get a specific company by domain
curl "$BASE_URL/companies/stripe.com" \
-H "X-Api-Key: $GRAPHADV_API_KEY"
# Search companies
curl "$BASE_URL/companies?query=fintech&state=CA&limit=10" \
-H "X-Api-Key: $GRAPHADV_API_KEY"
  • Company enrichment: 1 unit
  • Person enrichment: 1 unit
  • Leadership research: 5 units
  • Data reads: Free (rate-limited)

Check your current usage:

Terminal window
curl "$BASE_URL/usage" \
-H "X-Api-Key: $GRAPHADV_API_KEY"

Response:

{
"plan": "trial",
"units_remaining": 98,
"units_used_this_period": 2,
"period_ends_at": "2026-01-31T00:00:00Z"
}

Now that you’ve made your first enrichment request, explore:

401 Unauthorized: Check that your API key is correct and the X-Api-Key header is properly formatted.

404 Not Found: Verify the endpoint URL is correct.

402 Payment Required: You’ve run out of units. Upgrade your plan or wait for the next billing period.

429 Too Many Requests: You’ve hit the rate limit. Wait a moment and retry.