Skip to content
unlob

Persian web search

فارسیlang=fa

Right-to-left Arabic script with distinct morphology from Arabic.

Example

"سیاست اقلیمی" — climate policybash
# Persian sources only
curl -H "x-api-key: $UNLOB_API_KEY" \
  "https://api.unlob.com/search?q=%D8%B3%DB%8C%D8%A7%D8%B3%D8%AA%20%D8%A7%D9%82%D9%84%DB%8C%D9%85%DB%8C&lang=fa&limit=10"

# The same meaning, sources in any language
curl -H "x-api-key: $UNLOB_API_KEY" \
  "https://api.unlob.com/search?q=%D8%B3%DB%8C%D8%A7%D8%B3%D8%AA%20%D8%A7%D9%82%D9%84%DB%8C%D9%85%DB%8C&mode=semantic&limit=10"

How multilingual retrieval works here

The conventional approach runs a separate index per language and translates queries between them, which multiplies infrastructure and loses meaning at every boundary. A single multilingual embedder places all 101 supported languages in one shared space, so texts with the same meaning land near each other regardless of the language they are written in.

The practical consequence is that a query in English can retrieve a Persian passage directly, and vice versa — with no translation step, no per-language index, and no additional resident memory. Only semantic and hybrid modes do this; keyword mode matches tokens, and tokens are monolingual.

Common questions

How do I search Persian web content?

Set lang=fa on any search request. You can also leave it unset — the embedding space holds 101 languages at once, so a query in any language retrieves relevant Persian passages directly.

Do I need to translate my query into Persian?

No. Semantic and hybrid modes cross languages natively. Translating would search for the translation rather than the meaning, which is usually worse. Use lang only when the results must be readable to a Persian-speaking user.

Does keyword mode work for Persian?

Within Persian it does. What keyword mode cannot do is cross languages — token matching is monolingual by construction. Use semantic or hybrid mode if you want Persian sources from a query in another language.

Search Persian sources

10,000 free requests a month, no card. All 101 languages are available on every plan.