Skip to main content
Set TINYFISH_API_KEY before running these examples. TinyAnswer must be enabled for your personal account. See the overview for Python and TypeScript setup and your first request.

Look Up a Current Fact

Ask a focused question and inspect the cited sources before relying on a time-sensitive answer.

Find Company Information

Include the company name and the fact you need. The response contains answer text and its cited sources; it does not guarantee a particular output structure inside answer.

Display the Answer and Sources

This Python example requires pip install httpx. It prints each source next to the [n] marker that cites it. Citation titles can be null, and the citation list can be empty.
For error handling and retry guidance, see the API reference.