Überblick
Dieser Leitfaden zeigt, wie du den Batches-Endpunkt von Olostep verwenden kannst, um Daten von beliebten KI-Suchwerkzeugen wie Google AI Mode, Gemini, Microsoft Copilot, ChatGPT, Perplexity und Google AI Overview abzurufen. Durch die Nutzung spezialisierter Parser für jede Plattform kannst du strukturierte Suchergebnisse in großem Maßstab extrahieren, was ideal ist für:- Wettbewerbsanalyse
- Vergleich von Suchergebnissen auf mehreren Plattformen
- Überwachung von KI-Suchmaschinen
Anfragenformulierung
Schritt 1: Bereite deine Anfragen vor
Erstelle ein Array von Anfragen, die du durchsuchen möchtest. Für diese Demo werden wir Nachrichten in verschiedenen Städten abfragen:const axios = require('axios');
// Konfiguration
const CONFIG = {
url: 'https://api.olostep.com/v1/batches',
token: 'YOUR_API_KEY_HERE'
};
// Demo: Erstelle Anfragen für verschiedene Städte
const BASE_QUERY = 'what is the news today in';
const CITIES = [
'New York', 'Los Angeles', 'Chicago', 'Houston', 'Phoenix',
'Philadelphia', 'San Antonio', 'San Diego', 'Dallas', 'San Jose'
];
Schritt 2: Erstelle Elemente für jedes KI-Werkzeug
Jedes KI-Suchwerkzeug benötigt eine spezifische Parser-ID und URL-Struktur. Unten sind die Funktionen zur Elementerstellung für jede Plattform:- Google AI Mode
- ChatGPT
- Perplexity
- Google AI Overview
- Gemini
- Microsoft Copilot
Parser ID:
@olostep/google-aimode-resultsconst generateAIModeItems = () => {
return CITIES.map((city, index) => {
const query = `${BASE_QUERY} ${city}`;
const encodedQuery = encodeURIComponent(query);
return {
url: `https://google.com/aimode?q=${encodedQuery}`,
custom_id: (index + 1).toString()
};
});
};
Parser ID:
@olostep/chatgpt-resultsconst generateChatGPTItems = () => {
return CITIES.map((city, index) => {
const query = `${BASE_QUERY} ${city}`;
const encodedQuery = encodeURIComponent(query);
return {
url: `https://chatgpt.com/?q=${encodedQuery}`,
custom_id: (index + 1).toString()
};
});
};
Parser ID:
@olostep/perplexity-resultsconst generatePerplexityItems = () => {
return CITIES.map((city, index) => {
const query = `${BASE_QUERY} ${city}`;
const encodedQuery = encodeURIComponent(query);
return {
url: `https://www.perplexity.ai/?q=${encodedQuery}`,
custom_id: (index + 1).toString()
};
});
};
Parser ID:
@olostep/google-ai-overview-resultsconst generateGoogleAIOverviewItems = () => {
return CITIES.map((city, index) => {
const query = `${BASE_QUERY} ${city}`;
const encodedQuery = encodeURIComponent(query);
return {
url: `https://www.google.com/search?q=${encodedQuery}`,
custom_id: (index + 1).toString()
};
});
};
Parser ID:
@olostep/gemini-resultsconst generateGeminiItems = () => {
return CITIES.map((city, index) => {
const query = `${BASE_QUERY} ${city}`;
const encodedQuery = encodeURIComponent(query);
return {
url: `https://gemini.google.com/?q=${encodedQuery}`,
custom_id: (index + 1).toString()
};
});
};
Parser ID:
@olostep/microsoft-copilot-resultsconst generateCopilotItems = () => {
return CITIES.map((city, index) => {
const query = `${BASE_QUERY} ${city}`;
const encodedQuery = encodeURIComponent(query);
return {
url: `https://copilot.microsoft.com/chats?q=${encodedQuery}`,
custom_id: (index + 1).toString()
};
});
};
Schritt 3: Sende die Batch-Anfrage
Sende deine Batch-Anfrage mit den generierten Elementen:const response = await axios.post(CONFIG.url, {
parser: { id: '@olostep/gemini-results' },
items: generateGeminiItems()
}, {
headers: {
'Authorization': `Bearer ${CONFIG.token}`,
'Content-Type': 'application/json'
}
});
const batchId = response.data.id;
Antwortformat
Nach dem Senden einer Batch-Anfrage und der Überwachung des Abschlusses erhältst du Antworten im folgenden Format:- Google AI Mode
- ChatGPT
- Perplexity
- Google AI Overview
- Gemini
- Microsoft Copilot
{
"url": "https://www.google.com//search?q=what+is+the+news+today+in+Austin&hl=en&udm=50&aep=11&newwindow=1&sei=mt_oaPvDBrKh5NoPy9W1sQE&mstk=AUtExfANCngr4KIDEH7t1EJsJ3xHfdsjka647_hz7r0UJWh1VM4FhWV9j1f2QOy0ylJU2l9-zWCxfORo5WzWeAN52_oVMM7nGAgEIRdyzsjtT7h1qhBn8Qj2RiN8HFQke6uYjmqnTeR4O1opgHbiLdAe5ZNfkzDyE_9O2zE&csuir=1",
"prompt": "what is the news today in Austin",
"answer_markdown": "In Austin news, officials announced that progress has been made on the city's homelessness response \n\n. \n\n**Top story: Homelessness** \n\n* Austin officials and local advocates reported \"real, measurable progress\" in addressing the needs of the city's homeless population.\n* The announcement came ahead of a report from the Ending Community Homelessness Coalition (ECHO)... ",
"sources": [
{
"url": "https://www.kxan.com/video/austin-mayor-citys-decreased-homelessness-is-a-big-deal/11151402/#:~:text=Elected%20city%20and%20county%20officials%2C%20along%20with,experiencing%20homelessness%20in%20Austin.%20Read%20More:%20https://www.kxan.com/news/local/austin/echo%2Dto%2Dpresent%2Dreport%2Don%2Dstate%2Dof%2Daustins%2Dhomelessness%2Dresponse%2Dsystem/",
"title": "KXAN\n·",
"description": "Austin mayor: City's decreased homelessness is 'a big deal'",
"icon": null,
"domain": "https://www.kxan.com",
"cited": true
},
{
"url": "https://www.fox7austin.com/tag/us/tx/travis-county/austin/east-austin#:~:text=Austin%20pd%20arrests%20man%20in%20deadly%20east%20austin%20double%20shooting",
"title": "FOX 7 Austin",
"description": "East Austin",
"icon": null,
"domain": "https://www.fox7austin.com",
"cited": true
},
...
],
"country": null
}
{
"url": "https://chatgpt.com/?model=auto&q=what%20is%20the%20news%20today%20in%20Austin",
"prompt": "what is the news today in Austin",
"answer_markdown": "Here's a roundup of **today's top news in Austin, Texas**:\n\n---\n\n## 🏛️ Local Government\n\n* **New Homeless Navigation Center Approved:** The Austin City Council approved the purchase of a commercial property on South Interstate 35...\n\n[Council OKs purchase of site - Austin Monitor](https://austinmonitor.com/stories/2025/10/council-oks-purchase-of-site-for-new-homeless-navigation-center/)\n\n## 📚 Education\n\n* **Austin ISD Consolidation:** Families rally at Austin ISD headquarters to oppose consolidation plan...\n\n[Austin's Leading Local News - KVUE](https://www.kvue.com/)",
"inline_references": [
{
"url": "https://austinmonitor.com/stories/2025/10/council-oks-purchase-of-site-for-new-homeless-navigation-center/",
"text": "Council OKs purchase of site - Austin Monitor",
"position": 1
},
{
"url": "https://www.kvue.com/",
"text": "Austin's Leading Local News - KVUE",
"position": 2
},
...
],
"sources": [
{
"url": "https://austinmonitor.com/stories/2025/10/council-oks-purchase-of-site-for-new-homeless-navigation-center/",
"title": "Council OKs purchase of site for new homeless navigation center - Austin Monitor",
"snippet": "City Council voted 8–3 on Thursday to purchase a commercial property on South Interstate 35...",
"cited": true,
"date_published": "2025-10-10T12:00:00.000Z",
"attribution": "austinmonitor.com"
},
{
"url": "https://www.kvue.com/",
"title": "Austin's Leading Local News - KVUE",
"snippet": "Families rally at Austin ISD headquarters to oppose consolidation plan...",
"cited": true,
"date_published": null,
"attribution": "www.kvue.com"
},
...
],
"products": [],
"network_search_calls": {
"user_query": "what is the news today in Austin",
"default_model_slug": "auto",
"model_slug": "gpt-5-2",
"search_triggered": true,
"search_queries": [
{
"query": "Austin Texas news today October 2025",
"type": "model_query"
},
...
],
"search_result_groups": [
{
"domain": "austinmonitor.com",
"entries": [
{
"url": "https://austinmonitor.com/stories/2025/10/council-oks-purchase-of-site-for-new-homeless-navigation-center/",
"title": "Council OKs purchase of site for new homeless navigation center",
"snippet": "City Council voted 8–3 on Thursday to purchase a commercial property...",
"pub_date": "2025-10-10T12:00:00.000Z",
"attribution": "austinmonitor.com",
"ref_type": "news",
"ref_index": 1
}
]
},
...
]
}
}
{
"url": "https://www.perplexity.ai/search/what-is-the-news-today-in-aust-_3zTmnq8QGiB7f2f.ESHgw",
"prompt": "what is the news today in Austin",
"answer_markdown": "\nToday's news in Austin includes both local and statewide developments. Here's a summary of the major headlines:\n\n- Local Government\n - New Homeless Navigation Center: The Austin City Council approved the purchase of a commercial property on South Interstate 35 to serve as the city's first housing navigation center. [austinmonitor](https://austinmonitor.com/stories/2025/10/council-oks-purchase-of-site-for-new-homeless-navigation-center/)\n - Coffee Shop Zoning: The Austin City Council is working to make it easier to open walkable neighborhood coffee shops.\n- Education\n - Austin ISD Consolidation: Community members are protesting the Austin Independent School District's plan to close 13 schools, with a possible TEA takeover looming. Families rally at Austin ISD headquarters to oppose the consolidation plan. [kvue](https://www.kvue.com/)\n- Crime & Safety\n - North Austin Homicide: Police have identified a woman found dead behind a business on Research Boulevard. A suspect has been arrested.\n - Airport Security: A suspicious package found at Austin's airport has since been cleared.\n\nFor the latest updates, check local news sources like KUT, KVUE, and the Austin Monitor.\n",
"sources": [
{
"position": 1,
"label": "KUT Homepage | KUT Radio, Austin's NPR Station",
"url": "https://www.kut.org/",
"description": ""
},
{
"position": 2,
"label": "Austin News, Weather, Sports, Breaking News - CBS Austin",
"url": "https://cbsaustin.com/",
"description": ""
},
{
"position": 3,
"label": "Council OKs purchase of site for new homeless navigation center",
"url": "https://austinmonitor.com/stories/2025/10/council-oks-purchase-of-site-for-new-homeless-navigation-center/",
"description": ""
},
{
"position": 4,
"label": "Austin's Leading Local News - KVUE",
"url": "https://www.kvue.com/",
"description": ""
},
...
],
"related_queries": [
"Show top local headlines in Austin right now",
"What are the latest Austin ISD school closure updates",
"Austin City Council meeting highlights today"
],
"shopping_cards": [],
"videos": [],
"images": [],
"hotels": [],
"places": [],
"search_model_queries": [
{
"query": "what is the news today in Austin",
"engine": "web",
"limit": 8
}
]
}
{
"url": "https://www.google.com/search?q=what%20is%20the%20news%20today%20in%20Austin&gl=IN&hl=en",
"prompt": "what is the news today in Austin",
"answer_markdown": "Today's top news in Austin includes the Texas House failing to meet a quorum due to a Democratic standoff, a suspect being arrested for a North Austin homicide, and a suspicious package found at the Austin airport that has since been cleared. Other local headlines involve community protests against proposed Austin ISD school closures, the City Council's effort to simplify opening neighborhood coffee shops, and a man's 80-year prison sentence for his fifth DWI...",
"sources": [
{
"title": "Austin News, Weather, Sports, Breaking News",
"url": "https://cbsaustin.com/#:~:text=%22I%20feel%20sad%2C%22%20Austin,Roberson%20in%20shaken%20baby%20case",
"index": 0
},
{
"title": "News - FOX 7 Austin",
"url": "https://www.fox7austin.com/news#:~:text=Concerned%20community%20members%20protest%20proposed,multiple%20break%2Dins%20in%20custody",
"index": 1
},
...
],
"text_blocks": [
{
"type": "paragraph",
"snippet": "Today's top news in Austin includes the Texas House failing to meet a quorum due to a Democratic standoff, a suspect being arrested for a North Austin homicide, and a suspicious package found at the Austin airport that has since been cleared. Other local headlines involve community protests against proposed Austin ISD school closures, the City Council's effort to simplify opening neighborhood coffee shops, and a man's 80-year prison sentence for his fifth DWI conviction.",
"snippet_highlighted_words": "the Texas House failing to meet a quorum due to a Democratic standoff, a suspect being arrested for a North Austin homicide, and a suspicious package found at the Austin airport that has since been cleared"
},
{
"type": "list",
"list": [
{
"type": "paragraph",
"snippet": "Democratic Standoff: The Texas House is unable to meet a quorum because Texas Democrats are continuing their boycott of the legislative session."
},
{
"type": "paragraph",
"snippet": "Proposed ISD Closures: Community members are protesting the Austin Independent School District's plan to close 13 schools, with a possible TEA takeover looming."
},
{
"type": "paragraph",
"snippet": "Coffee Shops: The Austin City Council is working to make it easier to open walkable neighborhood coffee shops."
},
{
"type": "paragraph",
"snippet": "Homeless Navigation Center: The city council has approved the purchase of a new property for a homeless navigation center."
}
],
"title": "Austin Politics & Governance"
},
...
]
}
{
"url": "https://gemini.google.com/",
"prompt": "what is the news today in Austin",
"answer_markdown": "Here are some of the top local news headlines in Austin, Texas:\n\n### Local Government and Community\n\n* **New Homeless Navigation Center Approved:** The Austin City Council approved the purchase of a commercial property on South Interstate 35...\n\n[Council OKs purchase of site for new homeless navigation center - Austin Monitor](https://austinmonitor.com/stories/2025/10/council-oks-purchase-of-site-for-new-homeless-navigation-center/)\n\n* **Austin ISD Consolidation:** Families rally at Austin ISD headquarters to oppose consolidation plan...\n\n[Austin's Leading Local News - KVUE](https://www.kvue.com/)",
"sources": [
{
"position": 1,
"label": "Council OKs purchase of site for new homeless navigation center - Austin Monitor",
"url": "https://austinmonitor.com/stories/2025/10/council-oks-purchase-of-site-for-new-homeless-navigation-center/",
"description": "City Council voted 8–3 on Thursday to purchase a commercial property on South Interstate 35 to serve as the city's first housing navigation center...",
"confidence_level": 0.9781935
},
{
"position": 2,
"label": "Austin's Leading Local News - KVUE",
"url": "https://www.kvue.com/",
"description": "Families rally at Austin ISD headquarters to oppose consolidation plan. Parents are urging Austin ISD leaders to...",
"confidence_level": 0.9623676
},
...
],
"links_attached": true,
"model": "gemini"
}
{
"url": "https://copilot.microsoft.com/chats/G7TZeFAA3dMces2Cb5J3N",
"prompt": "what is the news today in Austin",
"answer_markdown": "Here's a roundup of today's top stories from Austin:\n\n## 🕵️ Crime & Safety\n\n**Homicide Investigation in North Austin** Police have identified 43-year-old Mary Gonzales as the woman found dead behind a business on Research Boulevard. A suspect, 21-year-old, has been arrestedMSN News.\n\n**Suspicious Package at Airport** Police investigated after a suspicious package was found at Austin's airport, which has since been clearedMSN News.\n\n## 🏛️ Local Government\n\n**Homeless Navigation Center** The city council has approved the purchase of a new property for a homeless navigation centerAustin Monitor.\n\n[MSN NewsWoman found dead behind North Austin business identified; suspect arrested](https://www.msn.com/en-us/news/crime/woman-found-dead-behind-north-austin-business-identified-suspect-arrested/ar-AA1ObaMU)\n[MSN NewsPolice investigating after suspicious package found at Austin's airport](https://www.msn.com/en-us/news/crime/police-investigating-after-suspicious-package-found-at-austins-airport/ar-AA1Ob39x)",
"sources": [
{
"url": "https://www.msn.com/en-us/news/crime/woman-found-dead-behind-north-austin-business-identified-suspect-arrested/ar-AA1ObaMU",
"title": "Woman found dead behind North Austin business identified; suspect arrested",
"position": 319,
"icon_url": "https://services.bingapis.com/favicon?url=www.msn.com"
},
{
"url": "https://www.msn.com/en-us/news/crime/police-investigating-after-suspicious-package-found-at-austins-airport/ar-AA1Ob39x",
"title": "Police investigating after suspicious package found at Austin's airport",
"position": 555,
"icon_url": "https://services.bingapis.com/favicon?url=www.msn.com"
},
...
]
}
Preisgestaltung und Geolokalisierungsmatrix
Die folgende Tabelle zeigt die Unterstützung für länderspezifische Suchanfragen und die von jedem Parser verbrauchten Credits.| Funktion | Google AI Mode | ChatGPT | Perplexity | Google AI Overview | Gemini | Microsoft Copilot |
|---|---|---|---|---|---|---|
| Land unterstützt | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Batch-Größenlimit | 2500 | 2500 | 2500 | 2500 | 2500 | 1000 |
| Credits | 3 | 5 | 3 | 3 | 3 | 3 |
Überprüfung unterstützter Länder
Verwende den folgenden Endpunkt, um die Liste der unterstützten Länder für jeden Parser abzurufen:GET https://api.olostep.com/v1/countries?service=batches&parser={parser_id}
curl "https://api.olostep.com/v1/countries?service=batches&parser=@olostep/perplexity-results"
info@olostep.com für Unterstützung oder Hilfe bei der kundenspezifischen Implementierung.