Logo.dev
Logo.dev: looking up companies and their logos by name or domain.
Connection type: For the app and the agent. Credentials: Secret key (sk_).
How it works
The app and the agent never see the credentials. They call the Logo.dev API through the Bloklo gateway, for example fetch("/gw/<connection id>/v2/account"). The gateway appends the path to the address https://api.logo.dev, adds an Authorization: Bearer … header with the key from the connection, and passes the service's response back to the app.
- Reads (GET) go through at once. Writes (POST, PUT, PATCH, DELETE) go through at once only when the connection is set to Always allow; otherwise the gateway returns status 202 with an
approval_idand the write waits for approval in the panel (see Agent permissions). - The Test button sends
GET /v2/accountand checks that the service accepted the credentials.
API at https://api.logo.dev, secret key sk_ as Bearer, JSON responses. The publishable key pk_ works only on the CDN (img.logo.dev, token parameter) and is not for this connection; a key used on the wrong host returns 401.
Before you start
- An account with Logo.dev with permission to create API keys or tokens.
Where to get the credentials
- Open the Logo.dev dashboard (
logo.dev/dashboard/api-keys). - Copy the secret key (
sk_…) into Bloklo. The public key (pk_…) goes into image URLs on the site.
Connecting in Bloklo
- Open Connectors in the sidebar and find Logo.dev.
- Click Connect and enter a connection name in Details.
- In Configure connection, fill in: Secret key (sk_).
- Click Connect. Bloklo saves the credentials encrypted and sends a test request; the message shows whether the service responded.
- Attach the connection to a project: Attach to a project… on the connection page, or describe the task in the project chat and pick the connection the agent suggests.
Form fields
- Secret key (sk_): The secret key from the Logo.dev dashboard. The public pk_ key is only for image URLs on the site.
Never paste credentials into the chat with the agent. Enter them only in the connection form.
Example prompts
Prompts to type in the chat of a project with the connection attached:
- “Add a company search box that shows the domain and logo as you type a name.”
- “In the customer table, show each company's logo based on its domain.”
API methods
The most commonly used Logo.dev API methods. The path goes after /gw/<connection id>; parts in braces, such as {id}, are replaced with values. The gateway treats every request other than GET as a write, including queries sent with POST (such as search or GraphQL), so they need approval unless the connection is set to Always allow. The full list of methods is in the provider's documentation.
| Method | Path | What it does | In the gateway |
|---|---|---|---|
GET | /v2/search?q={nazwa} | Search brands by name | read |
GET | /v2/brands?domain={domena} | Brand profile by domain | read |
GET | /v2/brands/{id} | Brand profile by id | read |
GET | /v2/account | Account information | read |
POST | /v2/flag | Flag domains for review (domains, reason) | write (approval) |
Service limits
Search: result limit 1–25 (default 10), method match or typeahead. Headers RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset; on 429 wait RateLimit-Reset seconds or retry with growing back-off. Flag submissions: 10 requests per minute per account. Search and brand lookup limits are per minute and depend on the plan (see the plans page); CDN logos on the free plan: 500 requests per minute per account and 100 per IP. Flag submission: 1–100 domains, reason incorrect_logo, incorrect_brand, outdated_data or other.
Agent actions and permissions
| Action | Type | What the agent uses it for |
|---|---|---|
| Read data | read | Fetches data from the service, such as a list of records, to build and check the app. Examples: search brands by name; brand profile by domain; brand profile by id. |
| Write data | write | Requests other than GET: creating, changing or deleting data in the service, and also queries sent with POST (such as search). Examples: flag domains for review (domains, reason). |
By default, reads run without asking and writes need approval in the chat. Change this on the connector page or in Settings → Agent permissions (see Agent permissions).
Troubleshooting
The connection test shows “Invalid key” (HTTP 401)
The service did not recognise the credentials: the value is wrong, expired, revoked or was copied with a space. Create a new key at the provider and enter it on the connection page under Change credentials. Empty fields stay unchanged.
The connection test shows “Invalid key” (HTTP 403)
The credentials are rejected or lack the needed permissions, or the service only accepts requests from selected IP addresses. Check the key, extend its permissions at the provider or add the Bloklo gateway IP address (shown in Settings → Privacy & security) to the allowlist.
The test returns another HTTP code
The Test button sends the service a read request that requires valid credentials. A code other than 401 and 403 usually means a temporary problem at the service or a restriction on the account at the provider; include the error code shown with the result in a problem report.
Limits and security
- One connection can make up to 1,000 requests per minute; the service's own limits also apply.
- Credentials are encrypted and not shown in the browser after saving; only the names of stored fields are visible.
- A published app works for every visitor: protect the data the connection gives access to with sign-in in the app.
Something unclear or out of date? Contact us