Open HTTP API
Brand metadata, inline SVG source code, and 1024px raster exports are publicly accessible via read-only JSON endpoints. No registration or API key required.
https://logohub.afengblog.com/apiReturns application/json; charset=utf-8, rate-limited to 20 requests/sec per IP
Endpoints
GET https://logohub.afengblog.com/api/search?q=&category=&sort=&order=&limit=&offset=&lang=Keyword search across English names, Chinese names (Simplified & Traditional), and Pinyin; q is required, up to 20 items per request, sort accepts latest / name, order accepts asc / desc (defaults: newest first, A–Z)GET https://logohub.afengblog.com/api/logos/:slug?lang=Single brand metadata including inline SVG source code, color palette, asset URLs, and related logosGET https://logohub.afengblog.com/api/logos?q=&category=&sort=&order=&limit=&offset=&lang=Paginated list & category filter (SVG source omitted by default); limit max 20GET https://logohub.afengblog.com/api/statsTotal indexed logos, per-category counts, and last seed timestampGET https://logohub.afengblog.com/api/healthService and SQLite database readiness probe (returns 503 if not ready)Languages
Search, list, and detail endpoints accept an optional lang parameter: zh-CN / zh-TW / ja / en (case-insensitive, defaults to zh-CN).
localePresent on the response and on every item, identifying the language version of the returned contentname, enNamePrimary and secondary brand names for that language; nameZhCN always keeps the original Simplified Chinese namecategoryName, description, tagsLocalized category, description, and tags; tags are not machine-translatedurls.pageDetail page path for that language, e.g. /ja/logo/{slug}alternatesAbsolute detail page URLs for every language version, keyed by language codeAn unsupported lang value returns HTTP 400 with { "error": "invalid_locale", "supported": [...] }.
Asset URLs
Every logo JSON object includes a urls field with ready-to-use paths for vector and raster formats.
pagehttps://logohub.afengblog.com/logo/{slug} — Brand detail page (localized when lang is set)svghttps://logohub.afengblog.com/logos/{svgFile} — Original lossless SVG filepnghttps://logohub.afengblog.com/logos/{slug}.png — 1024×1024 transparent PNGjpghttps://logohub.afengblog.com/logos/{slug}.jpg — 1024×1024 white-background JPEGwebphttps://logohub.afengblog.com/logos/{slug}.webp — 1024×1024 transparent WebPRaster images are rendered on-demand at 1024×1024 with Cache-Control: public, max-age=31536000 for long-term CDN caching.
Rate Limiting
- https://logohub.afengblog.com/api/*, https://logohub.afengblog.com/mcp, and raster image routes are limited to 20 requests/sec per client IP.
- Exceeding the limit returns HTTP 429 with Retry-After, X-RateLimit-Limit, and X-RateLimit-Remaining headers.
- HTML pages and static SVG vector files are never rate-limited.
Examples
curl "https://logohub.afengblog.com/api/search?q=alipay&limit=5&lang=en"curl "https://logohub.afengblog.com/api/logos/alipay?lang=ja"curl "https://logohub.afengblog.com/api/logos?category=school&limit=5&lang=en"curl -o alipay.png "https://logohub.afengblog.com/logos/alipay.png"All brand logos and trademarks belong to their respective owners. Indexed on LogoHub pursuant to Article 24 of the Copyright Law of the People's Republic of China strictly for non-commercial personal study, academic research, technical evaluation, and design reference. DMCA Takedown Request