Use this file to discover all available pages before exploring further.
Through the Olostep /v1/answers endpoint you can search the web with natural language and return AI‑powered answers and data in the JSON shape you want. This lets you ground your products on real-world data and sources, enrich data points or spreadsheets
Ask a question or give AI a data point you want to enrich
Optional: specify the JSON structure you want back
It will:
Search, clean, validate and return the data it found on the Web
Return sources used to generate the answer
Handle uncertainty with NOT_FOUND values when data cannot be verified
For API details, see the Answers Endpoint API Reference.By default we use a generic web index and a cost‑efficient LLM validator.Enterprise customers have access to proprietary industry specific web indexes, exclusive private data (including phone numbers and emails) and custom LLM models most suited for their use case. Contact us for access: info@olostep.com
Ask a question and pass a JSON schema to guide the output. You can also not pass the json parameter and the API will return a json object with the answer text inside the result field.
from olostep import Olostepclient = Olostep(api_key="YOUR_REAL_KEY")answer = client.answers.create( task="What is the latest book by J.K. Rowling?", json_format={"book_title": "", "author": "", "release_date": ""},)print(answer.json_content)print(answer.sources)
Like other Olostep endpoints, you will receive a answer object in response. The answer object has a few properties like id and result.
{ "id": "answer_9bi0sbj9xa", "object": "answer", "created": 1760327323, "metadata": {}, "task": "What is the latest book by J.K. Rowling?", "result": { "json_content": "{\"book_title\":\"The Hallmarked Man\",\"author\":\"J.K. Rowling (as Robert Galbraith)\",\"release_date\":\"2 September 2025\"}", "json_hosted_url": "https://olostep-storage.s3.us-east-1.amazonaws.com/answer_9bi0sbj9xa.json", "sources": [ "https://strikefans.com/the-books/", "https://www.facebook.com/groups/496943608606523/posts/1136830134617864/", "https://robert-galbraith.com/strike-books/", "https://www.novelsuspects.com/series-list/robert-galbraith-cormoran-strike-series-in-order/", "https://www.reddit.com/r/books/comments/1na833a/jk_rowlings_new_strike_novel_900_pages_of_romance/", "https://www.harrypotter.com/writing-by-jk-rowling", "https://stories.jkrowling.com/book-news/", "https://deadline.com/2024/09/jk-rowling-writing-futuristic-novel-1236093909/", "https://www.reddit.com/r/FantasticBeasts/comments/1cl1shn/jk_rowling_may_2024_ive_got_six_more_books_in_my/", "https://www.jkrowling.com/news/" ] }}
Your requested answer, formatted according to the json parameter, is in response.result.json_content and the list of sources in response.result.sources. You can parse the stringified JSON to access the structured data.
Provide a JSON object with empty values as a schema, or a string describing the data you want.
If the agent isn’t confident, it returns NOT_FOUND for that field.
from olostep import Olostepclient = Olostep(api_key="YOUR_REAL_KEY")answer = client.answers.create( task="how much did Olostep raise?", json_format={"amount": ""},)print(answer.json_content)