Logo API for Ruby on Rails
A Rails helper method for easy logo URL generation in your views.
What is apistemic logos?
A free logo API that returns company logos by domain or LinkedIn slug.
Any Company
Fetch logos for any domain — from Fortune 500 to startups. Just pass the domain and get a logo.
No API Keys
No registration, no authentication, no rate limits for reasonable usage. Just HTTP requests.
WebP Format
All logos served in WebP format — 25-35% smaller than PNG with full transparency support.
Code Examples
Production-ready code you can copy and paste into your project.
# app/helpers/logo_helper.rb
module LogoHelper
def logo_url(domain)
"https://logos-api.apistemic.com/domain:#{domain}"
end
end<%= image_tag logo_url(@company.domain), alt: "#{@company.name} logo" %># For caching logos or server-side processing
require 'net/http'
def fetch_logo(domain)
uri = URI(logo_url(domain))
req = Net::HTTP::Get.new(uri)
# Include contact info so we can reach you if needed
req['User-Agent'] = 'MyApp ([email protected])'
Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
http.request(req).body
end
endFree with Attribution
The logo API is completely free. Just add a visible attribution link.
- ✓Add a backlink on your homepage and on pages displaying logos
- ✓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 verify attribution. Don't use rel="nofollow". See full rules.
Can't add attribution? Let's talk.
Related Integrations
Explore more ways to integrate the Logo API.
Ready to integrate?
Try the API live or explore all available integrations.