Developers
Connect your app or AI assistant to the same font-identification engine that powers the site, with one key and your plan's credits.
- Base URL
- https://typud.com
- Auth
- Authorization: Bearer
- Format
- JSON inside data
Start in three steps
- Create a key
From the keys page in your account. It is shown once, so store it on your server.
- Send an image
Upload the image to the detect endpoint and get a search code right away.
- Read the result
Poll with the code until it is ready, and get the exact font for every word.
Keys and requests
Send the key with every request in the Authorization header. Every response is JSON: data holds the payload, and lists come with meta counts.
live- For every operation; each request is counted against your plan.
test- Read-only GET requests: 20 trial requests per account, once; they don't renew and aren't taken from your plan.
Keys are secret and belong on your server, never in a browser page or mobile app. You can revoke one at any time from the keys page.
curl https://typud.com/v1/me \ -H "Authorization: Bearer $API_KEY"
Identify a font from an image
Send the image and get a search code immediately, then poll until the result is ready, usually within seconds.
imagefilerequired- PNG, JPEG, WebP or GIF up to 20 MB, or 10 MB on the free plan.
scriptstringoptional- Writing system: latin, arabic, devanagari, hebrew or cyrillic. Leave it out and the image decides.
Idempotency-Keyheaderoptional- Repeating the same request will not start a second search.
Responds 202 with code to poll and page linking to the result on the site. This endpoint allows 10 requests per minute.
curl -X POST "https://typud.com/v1/detect?script=arabic" \ -H "Authorization: Bearer $API_KEY" \ -F [email protected]
{"data": {
"code": "K7HQ2P",
"job": "…",
"status": "queued",
"look": "/v1/detect/K7HQ2P",
"page": "/s/K7HQ2P"
}}Read the result
codestringrequired- The search code from the previous step.
Poll about once a second until status is done; Retry-After is sent while it runs. Each word lists its identified fonts in rank order with a match score out of 100, as many as your plan allows.
If the response has "mode": "site", the result is shown on the site only, linked in page.
curl https://typud.com/v1/detect/K7HQ2P/brief \ -H "Authorization: Bearer $API_KEY"
{"data": {
"code": "K7HQ2P",
"status": "done",
"page": "/s/K7HQ2P",
"words": [{
"i": 0, "text": "…", "lang": "ar", "image": "…",
"matches": [{
"id": 12, "slug": "…", "family": "…",
"score": 87, "rank": 1, "sample": "…",
"font": "/font/…", "saved": false, "mine": 0
}]
}]
}}Fonts
Search by name
Searches published fonts, closest to the start of the name first.
qstringrequired- Part of the font name in Arabic or English, at least two characters.
limitnumberoptional- Results, 1 to 50.
curl "https://typud.com/v1/fonts?q=naskh&limit=10" \ -H "Authorization: Bearer $API_KEY"
{"data": [{"id": 12, "slug": "…", "name": "…", "page": "/font/…"}],
"meta": {"total": 1, "limit": 10}}Font details
Names, foundries, designers, styles and languages.
slugstringrequired- The font identifier from its page URL.
{"data": {
"id": 12, "slug": "…", "name": "…",
"name_ar": "…", "name_en": "…", "page": "/font/…",
"scripts": ["Arab", "Latn"],
"foundries": [{"name": "…", "slug": "…", "page": "/foundry/…"}],
"designers": [{"name": "…", "slug": "…", "page": "/designer/…"}],
"weights": [{"id": 31, "name": "Bold", "weight": 700, "italic": false}]
}}Similar fonts
Closest in shape, ordered by similarity.
limitnumberoptional- Results, 1 to 50.
modelstringoptional- Comparison: full (default), skeleton or style.
{"data": [{"family_id": 40, "slug": "…", "name": "…", "score": 0.91, "pct": 91}],
"meta": {"total": 12}}Most searched
The fonts people identified most over a period.
sincestringoptional- Period: day, week, month (default), year or all.
limitnumberoptional- Results, 1 to 100.
Names come in the request language; send Accept-Language: ar or en.
{"data": [{"family_id": 40, "slug": "…", "name": "…", "count": 128}]}Limits and credits
Each request with a live key counts as one call against your plan. Reading the result of a search you started is free.
| Plan | Calls | Per minute | AI assistant |
|---|---|---|---|
| Free | 1000 every 30 days | 60 | Not included |
| Pro | 5000 monthly | 60 | Included |
| Team | 5000 monthly | 60 | Included |
| Studio | 50000 monthly | 60 | Included |
- Identifying an image also uses one search credit, just like searching on the site.
- The per-minute limit is per key; responses carry X-RateLimit-Limit and X-RateLimit-Remaining. Exceed it and you get 429 with Retry-After in seconds.
- When the quota runs out you get 429 quota_spent until your plan renews or you upgrade.
Errors
Errors carry error, a stable code to build on; message, text to show in the request language; and request, the id to quote if you contact us.
{"error": "family_missing",
"message": "…",
"request": "…"}| Status | Code | Meaning |
|---|---|---|
| 401 | bad_credentials | The key is missing, wrong or revoked. |
| 403 | forbidden | The key lacks this operation; scope names what is missing. |
| 403 | test_key_read_only | Test keys are read-only. |
| 422 | invalid_input | Invalid input; fields names the field and the reason. |
| 429 | rate_limited | Per-minute limit exceeded; wait for Retry-After. |
| 429 | quota_spent | The call quota for this cycle is used up. |
Connect an AI assistant
MCP connects your AI assistant to the site so it can identify and look up fonts when you ask. Same key, same credits: each tool is one call, and identification also uses a search credit.
Connecting an AI assistant is available on paid plans; a free-plan key is refused with 403. Plans
| Tool | What it does |
|---|---|
identify_font | Identifies the font from an image URL or an attached image. |
search_fonts | Searches font names. |
font_details | Font details: foundry, designer and styles. |
similar_fonts | Fonts similar to a font. |
trending_fonts | Most searched over a period. |
Image URLs must be public (http or https); internal addresses are rejected. Tools in this version read and identify only.
Run the command in your terminal.
claude mcp add --transport http Typud https://typud.com/mcp \ --header "Authorization: Bearer $API_KEY"
Add it to .cursor/mcp.json.
{"mcpServers": {"Typud": {
"url": "https://typud.com/mcp",
"headers": {"Authorization": "Bearer YOUR_API_KEY"}
}}}Add it to the Claude Desktop config; requires Node.js.
{"mcpServers": {"Typud": {
"command": "npx",
"args": ["mcp-remote", "https://typud.com/mcp",
"--header", "Authorization: Bearer YOUR_API_KEY"]
}}}Any tool that supports MCP over HTTP with a custom header works with the same URL and header.