feat: add DataForSEO extended operations (backlinks, SERP, people-als…#51
Merged
MAlshaik merged 1 commit intoMar 27, 2026
Conversation
…o-ask) - Add dataforseo_get_backlinks node (POST /backlinks/backlinks/live) - Supports target domain/URL, limit, dofollow and anchorContains filters - Add dataforseo_people_also_ask node (POST /serp/google/people_also_ask/live/regular) - Extracts PAA questions with answers and source URLs - Add dataforseo_serp node (POST /serp/google/organic/live/regular) - Returns organic SERP results filtered by type, supports desktop/mobile - Add 27 Vitest tests in __tests__/dataforseo-extended.test.ts covering: - Node type/category metadata - Input schema validation (valid, invalid cases) - API success paths with correct output mapping - API error handling (HTTP errors, non-20000 status codes) - Missing apiToken guard - Export all new nodes from dataforseo/index.ts, integrations/index.ts, and src/index.ts - Register all three nodes in builtInNodes array Closes wespreadjam#35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: DataForSEO Extended Operations — Backlinks, SERP, People Also Ask
Closes #35
Summary
Adds three new DataForSEO integration nodes that extend the existing SEO toolset with backlink analysis and SERP data capabilities.
New Nodes
dataforseo_get_backlinksRetrieves backlinks for a domain or URL via
POST /backlinks/backlinks/live.target(domain/URL),limit(1–1000, default 100), optionalfilters(dofollow,anchorContains)backlinks[](withurlFrom,urlTo,domainFrom,dofollow,anchor,pageFromRank,domainFromRank,firstSeen,lastSeen),totalCount,target'and'combinator when bothdofollowandanchorContainsare provided.dataforseo_serpFetches Google organic SERP results for a keyword via
POST /serp/google/organic/live/regular.keyword,location(defaultUnited States),device(desktop|mobile, defaultdesktop),depth(10–100, default 10)results[](organic items only, filtered bytype === 'organic'),totalResults(fromse_results_count),deviceos: 'android'for mobile andos: 'windows'for desktop.dataforseo_people_also_askFetches "People Also Ask" questions via
POST /serp/google/people_also_ask/live/regular.keyword,location(defaultUnited States),language(default en)questions[](withquestion, optionalanswer, optionalsourceUrl),totalQuestionstype === 'people_also_ask'items and extracts nestedpeople_also_ask_elemententries.Files Changed
builtInNodesTesting
All 27 new tests pass. 152/152 total tests pass across the nodes package.
pnpm --filter @jam-nodes/nodes testCoverage includes: