Skip to content

How to retrieve images for branding.icon_url and branding.logo_url #878

Open
@nodesocket

Description

@nodesocket

Since the url endpoints for the icon_url and logo_url require authentication, are there methods for retrieving those images using my api key?

POLYGON_API_KEY = os.getenv("POLYGON_API_KEY")

client = RESTClient(POLYGON_API_KEY)

ticker_details = client.get_ticker_details(
    "AAPL"
)

print(ticker_details.branding.icon_url)
print(ticker_details.branding.logo_url)

# urls below require auth
# https://api.polygon.io/v1/reference/company-branding/YXBwbGUuY29t/images/2025-04-04_icon.png
# https://api.polygon.io/v1/reference/company-branding/YXBwbGUuY29t/images/2025-04-04_logo.svg

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions