Tutorial

How to Find Procurement Managers in Spain via Search API

An r/ClaudeAI post asked for 50 procurement managers in Spanish B2B firms. Walk-through with Claude + Scavio dorked search.

An r/ClaudeAI thread asked for ~50 procurement managers in Spain without the Apollo seat tax. This walks the Claude + Scavio dorked-search loop for one-off lead lists in any country.

Prerequisites

  • Claude/GPT API key
  • Scavio API key
  • (Optional) Hunter for email validation

Walkthrough

Step 1: Define role wording in target language

Spanish: director de compras, jefe de aprovisionamientos.

JavaScript
const ROLES = ['director de compras', 'jefe de aprovisionamientos', 'responsable de compras']

Step 2: Generate dorks across LinkedIn, registries, news

Multiple sources beats one source.

Text
// site:linkedin.com/in "<role>" Spain
// site:linkedin.com/in "<role>" Madrid OR Barcelona
// site:axesor.es "<role>"
// site:expansion.com "<role>" 2026

Step 3: Run Scavio search for each dork

10-20 results per dork is plenty.

POST https://api.scavio.dev/api/v1/search
x-api-key: <key>
Body: { "query": "site:linkedin.com/in director de compras Spain" }

Step 4: Pass results to Claude/LLM for extraction

Extract {name, role, company, linkedin_url} as JSON.

Text
# LLM prompt:
# Extract every person mentioned with their role.
# Return JSON list of {name, role, company, linkedin_url, source}.
# Filter: role MUST match procurement intent in Spanish.

Step 5: Dedup across dorks by name + company

Same person shows up in multiple sources.

JavaScript
// Dedup: hash(name + company) as key

Step 6: (Optional) Validate emails via Hunter or company-domain dork

site:COMPANY.com OR mailto patterns.

Text
// site:COMPANY.com NAME OR site:COMPANY.com mailto NAME
// Or Hunter API: GET https://api.hunter.io/v2/email-finder

Step 7: Export as CSV for Smartlead/Lemlist/manual outreach

Standard outreach tool ingestion.

// CSV: name,role,company,linkedin,email,source

Python Example

Python
# Total cost for 50-name list: ~150 Scavio calls × $0.0043 = $0.65 + LLM tokens ~$0.50 + Hunter ~$0.50 validation = under $2 per list.

JavaScript Example

JavaScript
// Same pattern in JS with fetch + LLM SDK.

Expected Output

JSON
50-name CSV of procurement managers at Spanish B2B firms with role + company + LinkedIn + (optional) validated email. Replaces a one-off Apollo seat. Reusable for any country/role by swapping ROLE wording and registry dorks.

Related Tutorials

Frequently Asked Questions

Most developers complete this tutorial in 15 to 30 minutes. You will need a Scavio API key (free tier works) and a working Python or JavaScript environment.

Claude/GPT API key. Scavio API key. (Optional) Hunter for email validation. A Scavio API key gives you 500 free credits per month.

Yes. The free tier includes 500 credits per month, which is more than enough to complete this tutorial and prototype a working solution.

Scavio has a native LangChain package (langchain-scavio), an MCP server, and a plain REST API that works with any HTTP client. This tutorial uses the raw REST API, but you can adapt to your framework of choice.

Start Building

An r/ClaudeAI post asked for 50 procurement managers in Spanish B2B firms. Walk-through with Claude + Scavio dorked search.