AgentQL is a suite of tools for connecting your AI to the web. Featuring a query language and Playwright integrations for interacting with elements and extracting data quickly, precisely, and at scale. Includes REST API, Python and JavaScript SDKs, browser debugger.
AgentQL is a suite of tools for extracting data and automating workflows on live web sites featuring an AI-powered query language, Python and JavaScript SDKs, a browser-based debugger, and a REST API endpoint. It uses natural language queries to pinpoint data and elements on any web page, including authenticated and dynamically generated content. Users can define structured data output and apply transforms within queries. AgentQL’s natural language selectors find elements intuitively based on the content of the web page and work across similar web sites, self-healing as UI changes over time.
Get started in 5 minutes with our quick start!
Example Name | Python | JavaScript |
---|---|---|
Getting Started | Script | Script |
Close Cookie Dialog | Script / Colab | Script |
Close Popup Windows | Script / Colab | Script |
Compare Product Prices | Script / Colab | Script |
Get Element by Prompt | Script | Script |
Infinite Scroll | Script / Colab | Script |
External Browser Integration | Script | Script |
Query List Items | Script | Script |
Site Login | Script / Colab | Script |
Headless Browser | Script / Colab | Script |
Save/Load Auth Session | Script | Script |
Stealth Mode | Script | Script |
Wait for Page Load | Script / Colab | Script |
E-commerce Pricing Data | Script | Script |
Sentiment Analysis | Script / Colab | Script |
Get XPath | Script | Script |
Submit Form | Script | Script |
Collect YouTube Comments | N/A | Script |
Use Humanlike Behavior to Avoid Antibot | Script | Script |
Run in Google Colab | Script | N/A |
Collect Ecommerce Paginated Data | Script / Colab | Script |
Collect Paginated Data From HackerNews | Script / Colab | Script |
Scrape Google Maps and save as a CSV | Script | Script |
News Aggregator | Script | Script |
For comprehensive guides and API references, check out our official documentation.
If you find AgentQL helpful, please consider giving us a star on GitHub! It helps us reach more developers and continue improving the project.
For questions, feedback, or support, join our Discord community. You can follow us on GitHub, Twitter, and LinkedIn!