The Logo API works through hotlinking company logos directly into your app or website. Simply use an image tag, and the logos will load directly from our global CDN. This approach ensures you always display the most current logo versions without managing logo files yourself. Since our service is designed for hotlinking, please note that caching or storing the logo images locally is not supported.This HTML snippet demonstrates how to retrieve a logo for apple.com:
<img src="https://img.logokit.com/apple.com?token=<publishable-api-token>" alt="Apple logo (identification only, no affiliation)" />
Our Free Logo API plan is limited to 64x64px logos and require an
attribution link. Upgrade to a
paid plan for high resolution logos, increased rate limits and no attribution.
Let’s say you want to retrieve the logo for the Nvidia. You can
do this by using the following URL:
<img src="https://img.logokit.com/nvidia.com?token=<publishable-api-token>" alt="NVIDIA logo (identification only, no affiliation)" />
Get 404 HTTP response for non-existent logo
If you want to receive a 404 HTTP response when the logo is not available, you can
use the fallback parameter in the URL and set it to 404. This is useful for
handling cases where the logo is not found, and you want to handle it in your
application.
If you want to receive a light variant of the monogram fallback when the logo is not available, you can
use the fallback parameter in the URL and set it to monogram-light. This is useful for
light-themed applications where you want a fallback with a light background.
Size of the logo to return. Allowed values are 64, 128, or 256. Default is 64px for free users, 128px for paid users. Set to 256px for high-resolution logos (paid users only).
Fallback behavior if the logo is not available. 'monogram': Returns a monogram image from the first letter of the domain (default). 'monogram-light': Returns a light variant of the monogram with light background. '404': Returns a 404 HTTP error.
Available options:
monogram,
monogram-light,
404
Response
Logo image found and returned as PNG.
The response is of type file.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LogoKit","colors":{"primary":"#5039F7","light":"#8070FA","dark":"#5039F7"},"logo":{"light":"https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/logo/wide_logo.png?fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=746347a30a820f2061db138b6b083025","dark":"https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/logo/wide_logo_white.png?fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=d5782b85e6dd453278afd758310e3791"},"favicon":"https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/favicon.svg?fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=08f5659e9df9037ae7b245b55dfab6dd","api":{"playground":{"display":"simple"}},"navbar":{"links":[{"href":"mailto:support@logokit.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://logokit.com/account"}},"footer":{"socials":{}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"usefulcollective","hasAudioNarration":false,"actualSubdomain":"usefulcollective","customDomains":["docs.logokit.com"],"gitSource":{"type":"github","owner":"usefulcollective","repo":"logokit-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e6b0572b750f6b6fa6e1","collectionId":"a9445c8c-5d2b-4c8f-979e-c85490e175b7","schemaVersion":"v2"},"entitlements":{},"buildId":"6ae926625f606b95dff10c92:success","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"API Reference","count":4},{"language":"default","tag":"Get Started","count":4},{"language":"default","tag":"Usage \u0026 Limits","count":3},{"language":"default","tag":"MCP Server","count":2},{"language":"default","tag":"Support","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#content-area>div.flex.flex-col.gap-8>div.mt-8.lg\\:mt-0.flex.flex-col.gap-6.xl\\:hidden{display:none!important}"}],"page":{"pagePath":"api-reference/logo-API","slug":"/api-reference/logo-API","pageMetadata":{"title":"Logo API","description":"Logo API allows you to retrieve logos based on a domain, providing both high-quality images and fallback options when a logo is not available.","openapi":"GET /{domain}","mode":"wide","href":"/api-reference/logo-API"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Logo API allows you to retrieve logos based on a domain, providing both high-quality images and fallback options when a logo is not available.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Frame,Heading,Info,OptimizedImage}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`basic-usage`,children:`Basic Usage`}),`\n`,_jsx(_components.p,{children:`The Logo API works through hotlinking company logos directly into your app or website. Simply use an image tag, and the logos will load directly from our global CDN. This approach ensures you always display the most current logo versions without managing logo files yourself. Since our service is designed for hotlinking, please note that caching or storing the logo images locally is not supported.`}),`\n`,_jsxs(_components.p,{children:[`This HTML snippet demonstrates how to retrieve a logo for `,_jsx(_components.code,{children:`apple.com`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`html`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`img`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` src`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://img.logokit.com/apple.com?token=`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`publishable-api-token>\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` alt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Apple logo (identification only, no affiliation)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`]})})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/apple.png?fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=d88da131061a45bfebbd1ab441177d18`,alt:``,\"data-og-width\":`128`,width:`128`,\"data-og-height\":`128`,height:`128`,\"data-path\":`images/apple.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/apple.png?w=280\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=eaad7ef2c2dc71290da3d1a4a96efa2c 280w, https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/apple.png?w=560\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=c071252b8b6120eb324bc7faa06a2a38 560w, https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/apple.png?w=840\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=c86a5538474399d7cc944ea533c015fa 840w, https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/apple.png?w=1100\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=9e04dac14606399807ae79ab7a565ef5 1100w, https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/apple.png?w=1650\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=6748becfd2411bb316d631d09830ea98 1650w, https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/apple.png?w=2500\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=bea66d07abeab70d0da919465e4e02c3 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`limitations`,children:`Limitations`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Our Free Logo API plan is limited to 64x64px logos and require an\n`,_jsx(_components.a,{href:`/attribution`,children:`attribution`}),` link. `,_jsx(_components.a,{href:`https://logokit.com/pricing`,children:`Upgrade `}),` to a\npaid plan for high resolution logos, increased rate limits and no attribution.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Retrieve logo for Nvidia`,id:`retrieve-logo-for-nvidia`,children:[_jsx(_components.p,{children:`Let’s say you want to retrieve the logo for the Nvidia. You can\ndo this by using the following URL:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`html`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`img`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` src`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://img.logokit.com/nvidia.com?token=`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`publishable-api-token>\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` alt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NVIDIA logo (identification only, no affiliation)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`]})})}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/nvda.png?fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=5757a73045cbf771f36221928db5e026`,alt:``,\"data-og-width\":`128`,width:`128`,\"data-og-height\":`128`,height:`128`,\"data-path\":`images/nvda.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/nvda.png?w=280\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=96cdf6f3530804ae0619c756171af2fe 280w, https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/nvda.png?w=560\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=94427c7ac9bcd143bbbafa09809c2714 560w, https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/nvda.png?w=840\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=d0405dfd21397b17667417eb973ce61f 840w, https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/nvda.png?w=1100\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=b7efcf583dba55c2eeb31a4d252f0a62 1100w, https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/nvda.png?w=1650\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=c945848c2b461d4573df1ba29faa8977 1650w, https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/nvda.png?w=2500\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=2b4f43c7dd5a6d7ea54c45a1549613ff 2500w`})})]}),_jsxs(Accordion,{title:`Get 404 HTTP response for non-existent logo`,id:`get-404-http-response-for-non-existent-logo`,children:[_jsxs(_components.p,{children:[`If you want to receive a 404 HTTP response when the logo is not available, you can\nuse the `,_jsx(_components.code,{children:`fallback`}),` parameter in the URL and set it to `,_jsx(_components.code,{children:`404`}),`. This is useful for\nhandling cases where the logo is not found, and you want to handle it in your\napplication.`]}),_jsx(CodeBlock,{filename:`Request`,numberOfLines:`1`,language:`markdown`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`markdown`,children:_jsxs(_components.code,{language:`markdown`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`https://img.logokit.com/invalid.com?fallback=404\u0026token=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`publishable-api-token`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`HTTP Response`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` 404`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Not`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Found`})]}),`\n`]})})})]}),_jsxs(Accordion,{title:`Get light monogram fallback for non-existent logo`,id:`get-light-monogram-fallback-for-non-existent-logo`,children:[_jsxs(_components.p,{children:[`If you want to receive a light variant of the monogram fallback when the logo is not available, you can\nuse the `,_jsx(_components.code,{children:`fallback`}),` parameter in the URL and set it to `,_jsx(_components.code,{children:`monogram-light`}),`. This is useful for\nlight-themed applications where you want a fallback with a light background.`]}),_jsx(CodeBlock,{filename:`Request`,numberOfLines:`1`,language:`markdown`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`markdown`,children:_jsxs(_components.code,{language:`markdown`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`https://img.logokit.com/invalid.com?fallback=monogram-light\u0026token=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`publishable-api-token`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),_jsx(_components.p,{children:`This will return a light monogram image generated from the first letter of the domain with a light background, perfect for light-themed interfaces.`}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/I.png?fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=c397b263b861b4567b2b8f61f6ae7860`,alt:``,\"data-og-width\":`256`,width:`256`,\"data-og-height\":`256`,height:`256`,\"data-path\":`images/I.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/I.png?w=280\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=32ec63a6c95d744c6254897adaa68477 280w, https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/I.png?w=560\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=34937216160b1ed4355b52587272aad3 560w, https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/I.png?w=840\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=e376416f283b527df8ee959af920623b 840w, https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/I.png?w=1100\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=0e9457aa05c355579aee156dda3e6550 1100w, https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/I.png?w=1650\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=59b98f306a0a890369bb070f2ddf0200 1650w, https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/images/I.png?w=2500\u0026fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=3bc480e8676651ccc3b01b686c9762b5 2500w`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`parameters`,children:`Parameters`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Logo API","description":"Logo API allows you to retrieve logos based on a domain, providing both high-quality images and fallback options when a logo is not available.","openapi":"GET /{domain}","mode":"wide","href":"/api-reference/logo-API"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Basic Usage","slug":"basic-usage","depth":2,"children":[]},{"title":"Limitations","slug":"limitations","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[]},{"title":"Parameters","slug":"parameters","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"servers":["381c90a0-d2f1-4777-a679-f592dafbfe84"],"summary":"Retrieve logo by domain","description":"Logo API allows you to retrieve logos based on a domain, providing both high-quality images and fallback options when a logo is not available.","operationId":"getLogoDomain","parameters":["a3ccebda-2e86-43d6-b897-6c5d7968adcd","0bbfe74c-cc68-4f08-9be1-32bf50c9b991","5a42ad6d-d430-480a-bf38-372facc286e6","9fcff936-2ee0-4f90-964d-07329dab4893"],"responses":{"200":"d6c456d0-9a7d-4a7a-8c03-549c3b8eca35","401":"48a3a68c-06a7-47a9-bbf9-5b8d1d8f5f29","404":"19f38802-72d2-4e39-9bfb-1c3b4b02a692","429":"6c993553-65f4-4a09-b18c-90fd308feb22"},"tags":["Logo API"],"method":"get","type":"path","security":[],"path":"/{domain}","baseUrlOptions":["https://img.logokit.com"],"title":"Retrieve logo by domain","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a3ccebda-2e86-43d6-b897-6c5d7968adcd":{"name":"domain","in":"path","required":true,"schema":{"type":"string","example":"apple.com","isRequired":true,"description":"The domain for which to retrieve the logo.","uniqueKey":"","typeLabel":"string"},"description":"The domain for which to retrieve the logo."},"0bbfe74c-cc68-4f08-9be1-32bf50c9b991":{"name":"token","in":"query","required":true,"schema":{"type":"string","example":"\u003cpublishable-api-token>","default":"YOUR-API-TOKEN","isRequired":true,"description":"Publishable API token for authentication. You can find yours in [account settings](https://logokit.com/account/api-tokens).","uniqueKey":"","typeLabel":"string"},"description":"Publishable API token for authentication. You can find yours in [account settings](https://logokit.com/account/api-tokens)."},"5a42ad6d-d430-480a-bf38-372facc286e6":{"name":"size","in":"query","required":false,"schema":{"type":"number","enum":[64,128,256],"default":null,"isRequired":false,"description":"Size of the logo to return. Allowed values are 64, 128, or 256. Default is 64px for free users, 128px for paid users. Set to 256px for high-resolution logos (paid users only).","uniqueKey":"","typeLabel":"enum\u003cnumber>"},"description":"Size of the logo to return. Allowed values are 64, 128, or 256. Default is 64px for free users, 128px for paid users. Set to 256px for high-resolution logos (paid users only)."},"9fcff936-2ee0-4f90-964d-07329dab4893":{"name":"fallback","in":"query","required":false,"schema":{"type":"string","enum":["monogram","monogram-light","404"],"default":"monogram","isRequired":false,"description":"Fallback behavior if the logo is not available. 'monogram': Returns a monogram image from the first letter of the domain (default). 'monogram-light': Returns a light variant of the monogram with light background. '404': Returns a 404 HTTP error.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"example":"monogram","description":"Fallback behavior if the logo is not available. 'monogram': Returns a monogram image from the first letter of the domain (default). 'monogram-light': Returns a light variant of the monogram with light background. '404': Returns a 404 HTTP error."}},"responses":{"d6c456d0-9a7d-4a7a-8c03-549c3b8eca35":{"description":"Logo image found and returned as PNG.","content":{"image/png":{"schema":{"type":"string","format":"binary","uniqueKey":"","typeLabel":"file"},"examples":{"Example":{"title":"Example","value":"\u003cstring>"}},"exampleType":"generated"}},"exampleType":"generated"},"48a3a68c-06a7-47a9-bbf9-5b8d1d8f5f29":{"description":"Invalid or missing API token.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"19f38802-72d2-4e39-9bfb-1c3b4b02a692":{"description":"Logo not found (only if `fallback=404` is used).","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"6c993553-65f4-4a09-b18c-90fd308feb22":{"description":"Rate limit exceeded.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{},"servers":{"381c90a0-d2f1-4777-a679-f592dafbfe84":{"url":"https://img.logokit.com","description":"Image API server"}}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"usefulcollective","siteName":"LogoKit","title":"Logo API - LogoKit","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T07:06:10.783Z","originalFileLocation":"api-reference/logo-API.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Logo API allows you to retrieve logos based on a domain, providing both high-quality images and fallback options when a logo is not available.\">\u003cmeta data-mint-head name=\"application-name\" content=\"LogoKit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/usefulcollective/_YtTb2OKSd4f3gQ-/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/usefulcollective/_YtTb2OKSd4f3gQ-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/usefulcollective/_YtTb2OKSd4f3gQ-/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/usefulcollective/_YtTb2OKSd4f3gQ-/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/usefulcollective/_YtTb2OKSd4f3gQ-/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/usefulcollective/_YtTb2OKSd4f3gQ-/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/usefulcollective/_YtTb2OKSd4f3gQ-/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/usefulcollective/_YtTb2OKSd4f3gQ-/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/usefulcollective/_YtTb2OKSd4f3gQ-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Logo API - LogoKit\">\u003cmeta data-mint-head property=\"og:description\" content=\"Logo API allows you to retrieve logos based on a domain, providing both high-quality images and fallback options when a logo is not available.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LogoKit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.logokit.com/api-reference/logo-API\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://usefulcollective.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Logo+API\u0026amp;description=Logo+API+allows+you+to+retrieve+logos+based+on+a+domain%2C+providing+both+high-quality+images+and+fallback+options+when+a+logo+is+not+available.\u0026amp;theme=968e2d8e837d38b600923f08\u0026amp;signature=ef0e0a1afd31351e29d2ef7c0fd9f64e39d20b3faf1186464f7a01d31ed3d864\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Logo API - LogoKit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Logo API allows you to retrieve logos based on a domain, providing both high-quality images and fallback options when a logo is not available.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://usefulcollective.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Logo+API\u0026amp;description=Logo+API+allows+you+to+retrieve+logos+based+on+a+domain%2C+providing+both+high-quality+images+and+fallback+options+when+a+logo+is+not+available.\u0026amp;theme=968e2d8e837d38b600923f08\u0026amp;signature=ef0e0a1afd31351e29d2ef7c0fd9f64e39d20b3faf1186464f7a01d31ed3d864\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/usefulcollective/_YtTb2OKSd4f3gQ-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LogoKit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5039F7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.logokit.com/api-reference/logo-API\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/logo-API.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.logokit.com/#organization\",\"name\":\"LogoKit\",\"url\":\"https://docs.logokit.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/usefulcollective/4lAPrWb_Bqt_x98x/logo/wide_logo.png?fit=max\u0026auto=format\u0026n=4lAPrWb_Bqt_x98x\u0026q=85\u0026s=746347a30a820f2061db138b6b083025\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.logokit.com#website\",\"name\":\"LogoKit\",\"url\":\"https://docs.logokit.com\",\"publisher\":{\"@id\":\"https://docs.logokit.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.logokit.com/api-reference/logo-API#webpage\",\"url\":\"https://docs.logokit.com/api-reference/logo-API\",\"name\":\"Logo API\",\"description\":\"Logo API allows you to retrieve logos based on a domain, providing both high-quality images and fallback options when a logo is not available.\",\"dateModified\":\"2026-01-07T07:06:10.783Z\",\"isPartOf\":{\"@id\":\"https://docs.logokit.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.logokit.com/api-reference/logo-API#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.logokit.com/api-reference/logo-API#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"LogoKit\",\"item\":\"https://docs.logokit.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Logo API\",\"item\":\"https://docs.logokit.com/api-reference/logo-API\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.logokit.com/api-reference/logo-API#apireference\",\"headline\":\"Logo API\",\"name\":\"Logo API\",\"description\":\"Logo API allows you to retrieve logos based on a domain, providing both high-quality images and fallback options when a logo is not available.\",\"url\":\"https://docs.logokit.com/api-reference/logo-API\",\"mainEntityOfPage\":{\"@id\":\"https://docs.logokit.com/api-reference/logo-API#webpage\"},\"dateModified\":\"2026-01-07T07:06:10.783Z\",\"publisher\":{\"@id\":\"https://docs.logokit.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.logokit.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LogoKit\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"LogoKit","nav":{"global":null,"groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quick Start Guide","href":"/quick-start"},{"title":"Authentication","href":"/authentication"},{"title":"Migrate from Clearbit","description":"A step-by-step guide to migrate from Clearbit to LogoKit","href":"/migrate-from-clearbit"}]},{"group":"API Reference","pages":[{"title":"Logo API","openapi":"GET /{domain}","mode":"wide","href":"/api-reference/logo-API"},{"title":"Stock Logo API","description":"Stock Logo API allows you to retrieve logos based on a stock exchange ticker, providing both high-quality images and fallback options when a logo is not available.","openapi":"GET /ticker/{symbol}","mode":"wide","href":"/api-reference/stock-logo-API"},{"title":"Crypto Logo API","openapi":"GET /crypto/{symbol}","mode":"wide","href":"/api-reference/crypto-logo-API"},{"title":"Brand API","openapi":"GET /brands/{identifier}","playground":{"display":"interactive"},"href":"/api-reference/brand-API"}]},{"group":"MCP Server","pages":[{"title":"MCP Server","href":"/mcp/overview"},{"title":"Install in your client","href":"/mcp/install"}]},{"group":"Usage \u0026 Limits","pages":[{"title":"Rate Limits","href":"/rate-limits"},{"title":"Free vs Paid Plans","href":"/free-vs-paid-plans"},{"title":"Attribution (Free Plan)","href":"/attribution"}]},{"group":"Support","pages":[{"title":"Report Inaccurate Data","url":"https://docs.google.com/forms/d/e/1FAIpQLScMQaqnlWFjm5XesSwc4SU_qW4eK9tieZHH9u2OkIoqcTQRAw/viewform","href":"/support/report-inaccurate-data"},{"title":"API Status","url":"https://status.logokit.com","href":"/support/api-status"}]}]},"basePath":"","title":"Logo API - LogoKit","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":["c2aa737661","b0f84f53ff","07c022d89b","a74be98ba7","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DX1Meug0.js","utils-B_OMIQVC.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-ChxhRPMa.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CuKvD8Iv.js","snippetPresets-C5d7p2hp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-BAvA99GL.js","ApiExamples-CfHcE8m4.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C1zZV314.js","shallow-CmQhqCJn.js","getApiPlaygroundDisplay-YRo9s1O7.js","CodeSnippet-RN1MTdfk.js","CodeSnippets-DKLPHxJA.js","getPastedJson-bz0M41mU.js","icon-CsmhpPrv.js","MethodPill-CNGsVE77.js","DuplicateIcon-DilfU_Z2.js","createIcon-BdsYzQck.js","DynamicMarkdown-CbqEDjbV.js","SectionHeading-O6hXpFCN.js","axios-vUo_bRtp.js","Frame-BdiBGm0H.js","zoom-image-lightbox-CvtNkYOX.js","lightbox-handle-r17bVUz3.js","Markdown-nKm-uidQ.js","clsx-ClVdStUn.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CIQkMg3R.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-ImrFS4Fy.js"]}