ScavioScavio
ProductPricingDocs
Sign InGet Started
  1. Home
  2. Tutorials
  3. How to Find Procurement Managers in Spain via Search API
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.

Get Free API KeyAPI Docs

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

  • How to Build a 12-Line Lead Scoring Rubric in n8n

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 50 free credits on signup.

Yes. The free tier includes 50 credits on signup, 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.

Related Resources

Best Of

Best Tools for B2B Procurement Lead Gen in Spain (2026)

Read more
Solution

Procurement Prospect Stack (Spain example)

Read more
Workflow

Procurement Prospect Discovery Workflow

Read more
Use Case

B2B Procurement Leadgen (Spain)

Read more
Best Of

Best Search API for Claude Code in 2026

Read more
Use Case

MCP Search Integration for Claude Desktop

Read more

Start Building

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

Get Free API KeyRead the Docs
ScavioScavio

Real-time search API for AI agents. Search every platform, not just Google.

Product

  • Features
  • Pricing
  • Dashboard
  • Affiliates

Developers

  • Documentation
  • API Reference
  • Quickstart
  • MCP Integration
  • Python SDK

Alternatives

  • Tavily Alternative
  • SerpAPI Alternative
  • Firecrawl Alternative
  • Exa Alternative

Tools

  • JSON Formatter
  • cURL to Code
  • Token Counter
  • All Tools

© 2026 Scavio. All rights reserved.

Featured on TAAFT
Terms of ServicePrivacy Policy