# Zenserp's Python client on SpecStream

Date: 2026-11-10

Client: zenserp 0.2 (PyPI), Python 3.14.4

The one line a user changes:

```python
zenserp.api_base = "https://api.specstream.ai/zenserp/api/v2"
```

## Request parameters

| Parameter | Sent | Status | Result |
| --- | --- | --- | --- |
| `q` | `q=Larkspur Colorado mayor` | 200 | honoured |
| `num` | `num=5` | 200 | honoured |
| `start` | `start=10` | 200 | honoured |
| `timeframe` | `timeframe=w` | 200 | honoured |
| `tbs` | `tbs=cdr:1,cd_min:1/1/2025,cd_max:6/30/2025` | 200 | honoured |
| `ai_overview` | `ai_overview=1` | 200 | honoured |
| `search_engine` | `search_engine=google.com` | 200 | honoured |
| `location` | `location=Austin,Texas,United States` | 200 | accepted, not applied |
| `gl` | `gl=FR` | 200 | accepted, not applied |
| `hl` | `hl=fr` | 200 | accepted, not applied |
| `lr` | `lr=lang_fr` | 200 | accepted, not applied |
| `device` | `device=mobile` | 200 | accepted, not applied |
| `cache` | `cache=true` | 200 | accepted, not applied |
| `lat / lng` | `lat=30.27`, `lng=-97.74` | 200 | accepted, not applied |
| `output` | `output=markdown` | 200 | accepted, not applied (the reply is JSON) |
| `tbm` | `tbm=nws` | 400 | refused (news results) |
| `search_engine (other)` | `search_engine=bing.com` | 400 | refused (another engine) |
| `apikey (none)` | `apikey=` | 403 | refused |

## Response fields

| Field | State |
| --- | --- |
| `query.q` | present |
| `query.url` | absent |
| `organic[].position` | present |
| `organic[].title` | present |
| `organic[].url` | present |
| `organic[].destination` | present |
| `organic[].description` | present |
| `organic[].isAmp` | absent |
| `organic[].date` | absent |
| `organic[].extra` | absent |
| `organic[].questions` | absent |
| `organic[].images` | absent |
| `related_searches` | absent |
| `number_of_results` | present |
| `pagination.current_page` | present |
| `pagination.next_page` | present |
| `pagination.previous_page` | empty |
| `pagination.pages` | present |
| `ai_overview` | absent |
