You can now capture code snippets directly from Google AI Mode responses with the DataForSEO SERP API! This update provides more complete and structured data from AI-generated search results, helping you analyze technical content, monitor AI responses, and build more comprehensive AI search tracking solutions.
What’s new
We’ve added a new ai_overview_code_block_element to Google AI Mode SERP API. This new object represents code blocks displayed within Google AI Mode responses, including programming code and structured data formats such as JSON and Python.
Why it matters
Google AI Mode responses can include more than plain text, links, and references. With support for code blocks, you can now capture additional types of AI-generated answers without losing their structure.
This update helps you build more comprehensive AI search monitoring tools and workflows and accurately process code snippets returned by Google AI Mode.
To explore the new element and its response structure, check out the Google AI Mode SERP API documentation.
