Logo.dev Subscriptions API
Choose which brands send you webhook events.
Choose which brands send you webhook events.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/logo-dev:logo-dev-subscriptions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Logo.dev Subscriptions API
description: 'Logo.dev serves brand assets from two hosts, each with its own key:
- **Logo.dev CDN** (`img.logo.dev`) returns a logo image. Authenticate with a **publishable key** in the `token` query parameter. It is safe in client-side code.
- **Logo.dev API** (`api.logo.dev`) returns JSON. Authenticate with a **secret key** in the `Authorization: Bearer` header. Call it only from your server.
Get your keys from the dashboard.'
version: 2.0.0
contact:
name: Logo.dev Support
email: support@logo.dev
url: https://docs.logo.dev
servers:
- url: https://api.logo.dev
description: REST APIs (Brand Search, Brand Data)
tags:
- name: Subscriptions
description: Choose which brands send you webhook events.
paths:
/v2/brands/{id}/subscription:
get:
tags:
- Subscriptions
summary: Get a brand subscription
description: Returns your account's subscription to this brand, if there is one. Subscriptions decide which brands send you `brand.updated` events.
operationId: v2GetBrandSubscription
x-mint:
metadata:
description: Check whether your account is subscribed to a brand's update events.
content: "<Card title=\"Get your API keys\" icon=\"key\" href=\"https://www.logo.dev/dashboard/api-keys\" horizontal arrow>\n Your dashboard has a publishable key for the Logo.dev CDN and a secret key for the Logo.dev API. Every plan includes both.\n</Card>"
security:
- secretKey: []
parameters:
- $ref: '#/components/parameters/V2BrandIdPath'
responses:
'200':
description: The subscription.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/V2Subscription'
metadata:
$ref: '#/components/schemas/V2Metadata'
required:
- data
- metadata
example:
data:
object: subscription
id: sub_7m2k9q4r8t0v1w3x5y6z8a9b0c
brand_id: brand_4x0wr3g0000g00400000000004
created_at: '2026-09-21T12:00:00Z'
metadata:
request_id: request_01k6z8m2a4b5c6d7e8f9g0h1j2
'400':
description: The brand id is malformed.
content:
application/json:
schema:
$ref: '#/components/schemas/V2Error'
example:
error:
code: invalid_request
message: 'id must start with "brand_": bad format'
target: id
docs_url: https://www.logo.dev/docs/platform/errors
'401':
$ref: '#/components/responses/V2Unauthorized'
'404':
description: You are not subscribed to this brand.
content:
application/json:
schema:
$ref: '#/components/schemas/V2Error'
example:
error:
code: resource_missing
message: no subscription for this brand
target: id
docs_url: https://www.logo.dev/docs/platform/errors
'500':
description: Reading the subscription failed.
content:
application/json:
schema:
$ref: '#/components/schemas/V2Error'
example:
error:
code: internal
message: failed to read subscription
docs_url: https://www.logo.dev/docs/platform/errors
put:
tags:
- Subscriptions
summary: Subscribe to a brand
description: 'Subscribes your account to `brand.updated` events for this brand. Safe to repeat: it returns `201` the first time and `200` after that, with the same body. Needs a paid plan. See Who can use webhooks.'
operationId: v2SubscribeToBrand
x-mint:
metadata:
description: Subscribe your account to update events for one brand.
content: "<Card title=\"Get your API keys\" icon=\"key\" href=\"https://www.logo.dev/dashboard/api-keys\" horizontal arrow>\n Your dashboard has a publishable key for the Logo.dev CDN and a secret key for the Logo.dev API. Every plan includes both.\n</Card>"
security:
- secretKey: []
parameters:
- $ref: '#/components/parameters/V2BrandIdPath'
responses:
'200':
description: You were already subscribed.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/V2Subscription'
metadata:
$ref: '#/components/schemas/V2Metadata'
required:
- data
- metadata
example:
data:
object: subscription
id: sub_7m2k9q4r8t0v1w3x5y6z8a9b0c
brand_id: brand_4x0wr3g0000g00400000000004
created_at: '2026-09-21T12:00:00Z'
metadata:
request_id: request_01k6z8m2a4b5c6d7e8f9g0h1j2
'201':
description: The subscription was created.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/V2Subscription'
metadata:
$ref: '#/components/schemas/V2Metadata'
required:
- data
- metadata
example:
data:
object: subscription
id: sub_7m2k9q4r8t0v1w3x5y6z8a9b0c
brand_id: brand_4x0wr3g0000g00400000000004
created_at: '2026-09-21T12:00:00Z'
metadata:
request_id: request_01k6z8m2a4b5c6d7e8f9g0h1j2
'400':
description: The brand id is malformed.
content:
application/json:
schema:
$ref: '#/components/schemas/V2Error'
example:
error:
code: invalid_request
message: 'id must start with "brand_": bad format'
target: id
docs_url: https://www.logo.dev/docs/platform/errors
'401':
$ref: '#/components/responses/V2Unauthorized'
'403':
$ref: '#/components/responses/V2WebhooksNotEnabled'
'404':
description: No brand has this id.
content:
application/json:
schema:
$ref: '#/components/schemas/V2Error'
example:
error:
code: resource_missing
message: no brand with this id
target: id
docs_url: https://www.logo.dev/docs/platform/errors
'409':
$ref: '#/components/responses/V2LimitExceeded'
'500':
description: Creating the subscription failed.
content:
application/json:
schema:
$ref: '#/components/schemas/V2Error'
example:
error:
code: internal
message: failed to create subscription
docs_url: https://www.logo.dev/docs/platform/errors
delete:
tags:
- Subscriptions
summary: Unsubscribe from a brand
description: Stops `brand.updated` events for this brand. Returns `204` whether or not a subscription existed. Needs a paid plan. See Who can use webhooks.
operationId: v2UnsubscribeFromBrand
x-mint:
metadata:
description: Stop update events for one brand.
content: "<Card title=\"Get your API keys\" icon=\"key\" href=\"https://www.logo.dev/dashboard/api-keys\" horizontal arrow>\n Your dashboard has a publishable key for the Logo.dev CDN and a secret key for the Logo.dev API. Every plan includes both.\n</Card>"
security:
- secretKey: []
parameters:
- $ref: '#/components/parameters/V2BrandIdPath'
responses:
'204':
description: Unsubscribed. No body.
'400':
description: The brand id is malformed.
content:
application/json:
schema:
$ref: '#/components/schemas/V2Error'
example:
error:
code: invalid_request
message: 'id must start with "brand_": bad format'
target: id
docs_url: https://www.logo.dev/docs/platform/errors
'401':
$ref: '#/components/responses/V2Unauthorized'
'403':
$ref: '#/components/responses/V2WebhooksNotEnabled'
'500':
description: Deleting the subscription failed.
content:
application/json:
schema:
$ref: '#/components/schemas/V2Error'
example:
error:
code: internal
message: failed to delete subscription
docs_url: https://www.logo.dev/docs/platform/errors
components:
schemas:
V2Resolution:
type: object
description: How the request identified the brand.
properties:
type:
type: string
enum:
- domain
- ticker
- isin
- crypto
- name
- brand_id
description: Which identifier the request used.
value:
type: string
description: 'The identifier after normalization: the registrable domain, an upper-cased ticker, and so on.'
method:
type: string
enum:
- direct
- domain
- security
- crypto
- search
- ''
description: How the identifier reached the brand. `direct` is a brand id or a domain that is its own brand; `domain` went through an alias or redirect; `security` is a ticker or ISIN; `crypto` is a crypto token symbol; `search` is a name lookup. Empty on a cached miss.
context:
type: object
description: Reserved for brands involved in a merchant lookup. Always `{}` today.
required:
- type
- value
- method
- context
V2Metadata:
type: object
properties:
request_id:
type: string
description: Unique id for this request. Also sent as the `Request-Id` header.
examples:
- request_01k6z8m2a4b5c6d7e8f9g0h1j2
resolution:
allOf:
- $ref: '#/components/schemas/V2Resolution'
description: Brand and image lookups only.
pending:
allOf:
- $ref: '#/components/schemas/V2Pending'
description: '`202` responses only.'
subscription:
type: object
description: 'Present when a brand lookup (`GET /v2/brands` or `GET /v2/brands/{id}`) ran the automatic subscribe: webhooks are on for the account, and `nosubscribe` is not `true`. See [automatic subscriptions](/brand/introduction#automatic-subscriptions).'
properties:
status:
type: string
enum:
- subscribed
- quota_exceeded
description: '`subscribed`: the account is subscribed to the brand. `quota_exceeded`: the account is at its plan''s subscription limit, so the brand was not subscribed. The lookup is answered and billed either way.'
message:
type: string
description: Why the subscribe was refused. Only with `quota_exceeded`.
required:
- status
required:
- request_id
V2Pending:
type: object
description: Present only on a `202`. Tells you when to retry.
properties:
reason:
type: string
enum:
- indexing
- resolving
description: '`indexing` is a brand''s first crawl; `resolving` means the identifier is still being matched to a brand.'
message:
type: string
retry_after_seconds:
type: integer
description: Wait this long before retrying. Matches the `Retry-After` header.
examples:
- 30
expires_in_seconds:
type: integer
description: Stop polling after this long.
examples:
- 300
webhook:
type: boolean
description: Whether a `brand.indexed` webhook event carrying this request's `request_id` will be sent when the lookup settles.
doc_url:
type: string
format: uri
required:
- reason
- message
- retry_after_seconds
- expires_in_seconds
- webhook
- doc_url
V2AuthError:
type: object
description: Returned when the secret key is missing, malformed, unknown, or disabled, before the request reaches the v2 route.
properties:
msg:
type: string
docs_url:
type: string
format: uri
required:
- msg
V2Error:
type: object
description: Error envelope for v2 routes.
properties:
error:
type: object
properties:
code:
type: string
enum:
- invalid_request
- unauthorized
- forbidden
- resource_missing
- insufficient_credits
- rate_limited
- limit_exceeded
- internal
message:
type: string
target:
type: string
description: The parameter at fault, when there is exactly one.
required:
- code
- message
docs_url:
type: string
format: uri
description: Documentation for this class of error.
required:
- error
V2Subscription:
type: object
properties:
object:
type: string
const: subscription
id:
type: string
examples:
- sub_7m2k9q4r8t0v1w3x5y6z8a9b0c
brand_id:
type: string
examples:
- brand_4x0wr3g0000g00400000000004
created_at:
type: string
format: date-time
required:
- object
- id
- brand_id
- created_at
responses:
V2WebhooksNotEnabled:
description: Your plan does not include webhooks, or your role cannot change them. See [Who can use webhooks](/webhooks#who-can-use-webhooks).
content:
application/json:
schema:
$ref: '#/components/schemas/V2Error'
example:
error:
code: forbidden
message: organization admin role required to change webhooks
docs_url: https://www.logo.dev/docs/platform/errors
V2LimitExceeded:
description: Your account is at its plan's limit for this resource. Delete one, or upgrade. See [plan limits](/webhooks#plan-limits).
content:
application/json:
schema:
$ref: '#/components/schemas/V2Error'
examples:
subscriptions:
value:
error:
code: limit_exceeded
message: 'brand subscription limit reached. the pro plan allows {limit} subscriptions: limit exceeded'
docs_url: https://www.logo.dev/docs/platform/errors
webhook_endpoints:
value:
error:
code: limit_exceeded
message: 'webhook endpoint limit reached. the pro plan allows {limit} endpoints: limit exceeded'
docs_url: https://www.logo.dev/docs/platform/errors
V2Unauthorized:
description: The secret key is missing, malformed, unknown, or disabled. A publishable key (`pk_`) is refused.
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/V2AuthError'
- $ref: '#/components/schemas/V2Error'
example:
msg: invalid api token. make sure to use your secret key.
docs_url: https://www.logo.dev/docs/platform/api-keys
parameters:
V2BrandIdPath:
name: id
in: path
required: true
description: A brand id, as returned in `data.id`.
schema:
type: string
examples:
- brand_4x0wr3g0000g00400000000004
securitySchemes:
publishableKey:
type: apiKey
in: query
name: token
description: Your publishable key (`pk_`). Safe in client-side code. Works only with the Logo.dev CDN.
secretKey:
type: http
scheme: bearer
description: Your secret key (`sk_`), as `Bearer sk_...`. Call the Logo.dev API only from your server.
transactionBetaKey:
type: http
scheme: bearer
bearerFormat: tx_beta_…
description: Transaction-only beta key, issued with your beta access and always visible in the Transaction Playground. Existing Logo.dev secret keys do not authenticate this beta.