Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Create a minimal working Apollo.io example. Use when starting a new Apollo integration, testing your setup, or learning basic Apollo API patterns. Trigger with phrases like "apollo hello world", "apollo example", "apollo quick start", "simple apollo code", "test apollo api".
.claude/skills/jeremylongshore-apollo-hello-world/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 41% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 30% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 26% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 95% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 85% | 0% |
Minimal working example demonstrating the three core Apollo.io API operations: people search, person enrichment, and organization enrichment. Uses the correct x-api-key header and api.apollo.io/api/v1/ base URL.
apollo-install-auth setupAPOLLO_API_KEY environment variableThe People API Search endpoint finds contacts in Apollo's 275M+ database. This endpoint is free — it does not consume enrichment credits, but it also does not return emails or phone numbers.
typescript// hello-apollo.ts import axios from 'axios'; const client = axios.create({ baseURL: 'https://api.apollo.io/api/v1', headers: { 'Content-Type': 'application/json', 'x-api-key': process.env.APOLLO_API_KEY!, }, }); // People Search — POST /mixed_people/api_search async function searchPeople() { const { data } = await client.post('/mixed_people/api_search', { q_organization_domains_list: ['apollo.io'], person_titles: ['engineer'], person_seniorities: ['senior', 'manager'], page: 1, per_page: 10, }); console.log(`Found ${data.pagination.total_entries} contacts`); data.people.forEach((person: any) => { console.log(` ${person.name} — ${person.title} at ${person.organization?.name}`); }); return data; } searchPeople().catch(console.error);
The People Enrichment endpoint returns full contact details including email and phone.
typescript// Enrich by email, LinkedIn URL, or name+domain combo async function enrichPerson() { const { data } = await client.post('/people/match', { email: 'tim@apollo.io', // Alternative identifiers: // linkedin_url: 'https://www.linkedin.com/in/...', // first_name: 'Tim', last_name: 'Zheng', organization_domain: 'apollo.io', reveal_personal_emails: false, reveal_phone_number: false, }); if (!data.person) { console.log('No match found'); return; } const p = data.person; console.log(`Name: ${p.name}`); console.log(`Title: ${p.title}`); console.log(`Email: ${p.email}`); console.log(`Company: ${p.organization?.name}`); console.log(`LinkedIn: ${p.linkedin_url}`); }
typescript// Organization Enrichment — GET /organizations/enrich async function enrichOrg() { const { data } = await client.get('/organizations/enrich', { params: { domain: 'apollo.io' }, }); const org = data.organization; if (!org) { console.log('No org found'); return; } console.log(`Company: ${org.name}`); console.log(`Industry: ${org.industry}`); console.log(`Employees: ${org.estimated_num_employees}`); console.log(`Revenue: ${org.annual_revenue_printed}`); console.log(`HQ: ${org.city}, ${org.state}, ${org.country}`); console.log(`Tech Stack: ${org.current_technologies?.slice(0, 5).map((t: any) => t.name).join(', ')}`); }
pythonimport os, requests API_KEY = os.environ['APOLLO_API_KEY'] BASE = 'https://api.apollo.io/api/v1' HEADERS = {'Content-Type': 'application/json', 'x-api-key': API_KEY} # People search (free) resp = requests.post(f'{BASE}/mixed_people/api_search', headers=HEADERS, json={ 'q_organization_domains_list': ['apollo.io'], 'person_titles': ['engineer'], 'page': 1, 'per_page': 5, }) for p in resp.json().get('people', []): print(f" {p['name']} — {p.get('title', 'N/A')}") # Org enrichment (1 credit) resp = requests.get(f'{BASE}/organizations/enrich', headers=HEADERS, params={'domain': 'apollo.io'}) org = resp.json().get('organization', {}) print(f"Company: {org.get('name')} ({org.get('estimated_num_employees')} employees)")
| Error | Cause | Solution | |-------|-------|----------| | 401 Unauthorized | Missing or invalid x-api-key header | Check APOLLO_API_KEY env var | | 422 Unprocessable | Malformed request body | Verify JSON payload structure | | 429 Rate Limited | Exceeded requests/minute | Wait and retry with exponential backoff | | Empty people array | No matches for filters | Broaden titles/seniority or use different domain |
Proceed to apollo-local-dev-loop for development workflow setup.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 9,906 | 6,848 | -31% | 1 | 1 | 0% | 2,101 | 2,970 | +41% | 0 | 0 | — |
case-02 | fail→pass | 12,094 | 8,620 | -29% | 1 | 1 | 0% | 2,589 | 3,376 | +30% | 0 | 0 | — |
case-03 | fail→pass | 11,100 | 7,221 | -35% | 1 | 1 | 0% | 2,460 | 3,092 | +26% | 0 | 0 | — |
case-04 | pass→pass | 20,334 | 7,244 | -64% | 1 | 1 | 0% | 1,998 | 2,813 | +41% | 0 | 0 | — |
case-05 | pass→pass | 10,926 | 8,386 | -23% | 1 | 1 | 0% | 1,861 | 3,052 | +64% | 0 | 0 | — |
case-06 | pass→pass | 8,148 | 7,454 | -9% | 1 | 1 | 0% | 1,359 | 2,910 | +114% | 0 | 0 | — |
case-07 | fail→pass | 7,624 | 6,740 | -12% | 1 | 1 | 0% | 1,520 | 2,971 | +95% | 0 | 0 | — |
case-08 | pass→pass | 4,533 | 2,699 | -40% | 1 | 1 | 0% | 878 | 1,950 | +122% | 0 | 0 | — |
case-09 | pass→pass | 4,575 | 1,536 | -66% | 1 | 1 | 0% | 661 | 1,696 | +157% | 0 | 0 | — |
case-10 | fail→pass | 6,791 | 4,762 | -30% | 1 | 1 | 0% | 1,283 | 2,371 | +85% | 0 | 0 | — |
case-11 | fail→pass | 7,350 | 3,516 | -52% | 1 | 1 | 0% | 1,386 | 2,221 | +60% | 0 | 0 | — |
case-12 | pass→pass | 4,111 | 2,599 | -37% | 1 | 1 | 0% | 791 | 1,944 | +146% | 0 | 0 | — |
case-13 | pass→pass | 6,993 | 3,546 | -49% | 1 | 1 | 0% | 1,291 | 2,074 | +61% | 0 | 0 | — |
case-14 | pass→pass | 12,101 | 7,459 | -38% | 1 | 1 | 0% | 2,248 | 2,919 | +30% | 0 | 0 | — |
case-15 | pass→pass | 6,612 | 6,800 | +3% | 1 | 1 | 0% | 1,210 | 2,681 | +122% | 0 | 0 | — |
case-16 | pass→pass | 5,510 | 3,980 | -28% | 1 | 1 | 0% | 1,044 | 2,202 | +111% | 0 | 0 | — |
case-17 | pass→pass | 3,963 | 2,608 | -34% | 1 | 1 | 0% | 797 | 2,006 | +152% | 0 | 0 | — |
case-18 | fail→pass | 4,872 | 4,357 | -11% | 1 | 1 | 0% | 997 | 2,420 | +143% | 0 | 0 | — |
case-19 | pass→pass | 3,980 | 3,405 | -14% | 1 | 1 | 0% | 751 | 2,157 | +187% | 0 | 0 | — |
case-20 | fail→fail | 11,082 | 13,424 | +21% | 1 | 1 | 0% | 2,378 | 4,496 | +89% | 0 | 0 | — |
case-21 | fail→fail | 12,345 | 14,597 | +18% | 1 | 1 | 0% | 2,016 | 4,075 | +102% | 0 | 0 | — |
case-22 | fail→fail | 8,460 | 6,651 | -21% | 1 | 1 | 0% | 1,639 | 2,788 | +70% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +32 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.