DEV Community

Tugelbay Konabayev
Tugelbay Konabayev

Posted on • Originally published at about-kazakhstan.com

Automating SEO Content Research with Exa AI and DataForSEO APIs

Writing SEO content manually is slow. I built a research pipeline using Exa AI (neural search) and DataForSEO (SERP data) to automate competitor analysis and content gap discovery for about-kazakhstan.com.

The Pipeline

  1. DataForSEO SERP Analysis -- get top 10 results + People Also Ask
  2. Exa AI highlights -- extract key points from competitor articles (10x fewer tokens than full text)
  3. Gap analysis -- find H2 sections competitors cover that we dont
  4. Brief generation -- auto-create content briefs with target word count, required H2s, FAQ questions

Code Example

// serp-analyzer.mjs
const serpData = await dataforseo.serp({
  keyword: "kazakhstan budget travel",
  location_code: 2840, // US
  language_code: "en"
});

// Extract PAA questions
const paa = serpData.people_also_ask
  .map(q => q.title);

// Exa highlights for top 3 competitors
const highlights = await exa.search(keyword, {
  numResults: 3,
  highlights: true
});
Enter fullscreen mode Exit fullscreen mode

Results

  • Research time: 2 hours manual ? 5 minutes automated
  • Content briefs include competitor word counts, H2 structures, PAA questions
  • Articles written from briefs consistently outperform competitors
  • One article reached position 8 on Google within 2 weeks

Cost

  • Exa AI: free tier 1000 req/month
  • DataForSEO: ~$0.05 per SERP query ($39 balance lasts months)
  • Total: under $5/month for full research pipeline

Example output: Kazakhstan Budget Travel Guide was researched and briefed entirely through this pipeline.

Do you use AI APIs for content research? What works for you?

Top comments (0)