Guides

Examples

Chain data sources into complete workflows

Each example chains two to four data sources to complete one task. Every example includes the CLI, Node.js, and Python.

The Node.js and Python workflows reuse the run helper from the first example. Set ORTHOGONAL_API_KEY before running them.

1. Lead Research & Enrichment

Goal: Research a target company and build a complete profile of key contacts.

APIs used: LinkUp (AI search) → Hunter (email finding) → Apollo (enrichment)

# 1. Research the company with AI search
orth run linkup /search --body '{"q": "stripe company funding valuation news 2026", "depth": "standard", "outputType": "sourcedAnswer"}'
# 2. Find contacts at the company
orth run hunter /v2/domain-search -q domain=stripe.com
# 3. Enrich the top contact (use an email from step 2)
orth run apollo /api/v1/people/match --body '{"email": "founder@stripe.com"}'

2. Competitor Brand & Pricing Research

Goal: Extract a competitor's brand assets and pricing information.

APIs used: Brand.dev (brand extraction) → Olostep (web scraping)

# 1. Brand assets - logos, colors
orth run brand-dev /v1/brand/retrieve -q domain=notion.so
# 2. Scrape the pricing page
orth run olostep /v1/scrapes --body '{"url_to_scrape": "https://notion.so/pricing", "formats": ["markdown"]}'

3. People Search & Email Enrichment

Goal: Find people matching your ideal customer profile and enrich them with contact details.

APIs used: Fiber (people search) → Tomba (email finding)

# 1. Find people matching your ICP
orth run fiber /v1/natural-language-search/profiles --body '{"query": "VP of Sales at Series B SaaS companies in San Francisco", "pageSize": 10}'
# For each profile from step 1, plug in its linkedin_url:
# 2. Find their email
orth run tomba /v1/linkedin -q 'url=<linkedin_url>'

4. Account-Based Marketing Research

Goal: Deep-dive on a target account - company intel, key people, and their social presence.

APIs used: Brand.dev (company data) → Fiber (find employees) → Apollo (enrich contacts)

# 1. Company brand info and products
orth run brand-dev /v1/brand/retrieve -q domain=figma.com
# 2. Find decision makers
orth run fiber /v1/natural-language-search/profiles --body '{"query": "executives and VPs at figma.com company", "pageSize": 5}'
# For each profile from step 2, plug in its linkedin_url:
# 3. Enrich with contact details
orth run apollo /api/v1/people/match --body '{"linkedin_url": "<linkedin_url>"}'

5. News Monitoring

Goal: Monitor company news for buying signals.

APIs used: LinkUp (AI-powered news search)

# Search for recent news and announcements
orth run linkup /search --body '{"q": "stripe.com announcement funding launch 2026", "depth": "standard", "outputType": "sourcedAnswer"}'