Fanar API
Fanar is Qatar's Arabic generative-AI platform, developed by the Qatar Computing Research Institute at Hamad Bin Khalifa University with support from Qatar's Ministry of Communications and Information Technology. The API publishes a first-party OpenAPI 3.1.0 document at api.fanar.qa/openapi.json: 11 paths and 12 operations spanning chat completions (streaming over text/event-stream), text-to-speech, transcription, custom voices, image generation, translation, poetry generation, moderation, tokenization and model listing. It is OpenAI-client compatible — the provider's own sample points the openai SDK at base_url https://api.fanar.qa/v1. Bearer authentication, fourteen documented error statuses behind a single Error envelope, and a published per-model rate-limit table with x-ratelimit-* and ratelimit-policy response headers. Access is by request. Verified live 2026-08-30: GET /v1/models returns 401 invalid_authentication.
Fanar API is one of 5 APIs that Hamad Bin Khalifa University publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
This API exposes 2 JSON Schema definitions.
Tagged areas include Artificial Intelligence, Large Language Models, Arabic, Speech, and Translation. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, API documentation, release notes, authentication docs, rate-limit docs, and 2 JSON Schemas.
This API exposes 12 operations across 11 paths, organized into 8 resource areas, and defines 97 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.
Requests are made against a single base URL, https://api.fanar.qa.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Fanar API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (Bearer).
By default, every request must be authenticated.
Bearer— Provide your API key in the Authorization header using the Bearer scheme.
Paths & Operations 12
Across 11 paths, the API surfaces 12 operations — 1 DELETE, 2 GET, 9 POST. They span 8 resource areas: Chat, Audio, Images, Translations, Poems, Moderations, Tokens, Models. Each is listed below with its method, path, parameters, and response codes.
Schemas 97
The contract defines 97 schemas that model the data the API accepts and returns. The most detailed are ChatCompletionRequest (34 properties), DoneChunk (7 properties), Voice (7 properties), TextToSpeechRequest (7 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Hamad Bin Khalifa University 4
Other APIs Hamad Bin Khalifa University publishes across the network.
This is an independent, third-party profile of Fanar API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.