DataForSeo provides comprehensive SEO and digital marketing data solutions via API.This page provides instructions on how to use the DataForSEO search APIs within LangChain.
Installation and Setup
Get a DataForSEO API Access login and password, and set them as environment variables (DATAFORSEO_LOGIN and DATAFORSEO_PASSWORD respectively).
Utility
TheDataForSEO utility wraps the API. To import this utility, use:
Tool
You can also load this wrapper as a Tool to use with an Agent:Example usage
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.