Logodog

Docs

Docs

Last updated at October 26, 2024 9:33 PM UTC

Authentication

All API requests require authentication using a Bearer token in the Authorization header:

Authorization: Bearer your-token-here

Endpoints

Get Logo

Retrieves the logo from a specified website URL.

Endpoint: GET /api/get

Parameters:

  • url (required): The website URL to analyze

Example Request:

curl -X GET \
  'https://logodog.dev/api/get?url=https://picqer.com' \
  -H 'Authorization: Bearer your-token-here'

Success Response:

{
  "success": true,
  "logo_url": "https://picqer.com/apple-touch-icon.png",
  "color": "#6B21FC",
  "remaining_requests": 5069
}

Response Fields:

  • success: Boolean indicating if the request was successful
  • logo_url: URL of the extracted logo
  • color: Dominant color of the logo (hex format)
  • remaining_requests: Number of API requests remaining in your quota

Status Codes

  • 200 OK: Request successful
  • 403 Forbidden: Usage limits exceeded
  • 404 Not Found: No favicon/logo found
  • 500 Internal Server Error: Error during processing

Usage Limits

The API includes a request quota system. Your remaining requests are returned in each successful response under the remaining_requests field. When you exceed your quota, the API will return a 403 Forbidden status code.