Company Logos on Invoices and PDFs
Put customer and vendor logos on invoices, receipts, and other generated PDFs.
Try It
Enter a company's domain or LinkedIn slug to get its logo.
Settings
https://logos-api.apistemic.com/domain:stripe.comHow to Build It
- 1
Use the customer's or vendor's domain from your billing data.
- 2
Add format=png: many PDF generators cannot read WebP, our default format.
- 3
Download the logo once per document, so that the PDF does not depend on the URL later.
Code Examples
Copy and adapt them, the logo URLs work as they are.
# Attribution required: link to https://logos.apistemic.com on your homepage
import requests
def fetch_logo_png(domain: str) -> bytes:
response = requests.get(f"https://logos-api.apistemic.com/domain:{domain}", params={"format": "png"})
response.raise_for_status()
return response.content<!-- Attribution required: link to https://logos.apistemic.com on your homepage -->
<img src="https://logos-api.apistemic.com/domain:stripe.com?format=png" alt="Stripe" width="64" height="64">Prompt for Your Coding Agent
Paste it into Claude Code, Cursor, or a similar tool to build this in your codebase.
Add the customer's company logo to our generated invoices and receipts.
Download https://logos-api.apistemic.com/domain:<domain>?format=png once per document and embed the PNG, as our PDF generator cannot read WebP.
Add a visible link to https://logos.apistemic.com on our homepage, as the API requires.Free with Attribution
The logo API is free. Just add a visible attribution link.
- ✓Add a backlink on your homepage
- ✓Show attribution where logos appear
- ✓Use a User-Agent with contact information for server-side requests
Add this link:
Logos by <a href="https://logos.apistemic.com">apistemic logos</a>Server-side? Use a User-Agent with contact info and limit to 1 rps. We check homepage backlinks automatically. Don't use rel="nofollow". See full rules.
Related Use Cases
More ways to use company logos
See all use cases, or how to add logos in your framework.