JSON Restrictor
A server-side field filtering mechanism offered by SerpApi that trims JSON fields via the json_restrictor parameter before results are returned, reducing response size to fit within local LLM context window limits.
Timeline (last 90 days)
In the test application, the Maps tool's JSON restrictor keeps 5 places, while the Markdown restrictor keeps 6 places and additionally includes opening hours and place descriptions.
In Markdown mode, the Search tool went from 5 web results to 5 results but accompanied by an answer box list, 8 AI Overview blocks and 3 top news headlines; News went from 5 stories with 1 related article each to 7 stories with 2 each; Flights went from 3+3 options to 4+4, including aircraft type, legroom, overnight layovers and price insights.
All Facts (2)
In the test application, the Maps tool's JSON restrictor keeps 5 places, while the Markdown restrictor keeps 6 places and additionally includes opening hours and place descriptions.
50%UnverifiedIn Markdown mode, the Search tool went from 5 web results to 5 results but accompanied by an answer box list, 8 AI Overview blocks and 3 top news headlines; News went from 5 stories with 1 related article each to 7 stories with 2 each; Flights went from 3+3 options to 4+4, including aircraft type, legroom, overnight layovers and price insights.
50%