Shields API
Concise, consistent, and legible badges in SVG and raster format
- Our call
- HTTP 200
- Latency
- 618 ms
- From a browser
- Allowed
- Key
- No key
- Docs link
- Answered
https://img.shields.io/badge/build-passing-greenPress Run: the request leaves from your browser, and you see what it gets back.
const res = await fetch("https://img.shields.io/badge/build-passing-green");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.blob();
console.log(data);curl -sS 'https://img.shields.io/badge/build-passing-green'import requests
r = requests.get("https://img.shields.io/badge/build-passing-green", timeout=10)
r.raise_for_status()
print(len(r.content), r.headers['content-type'])Shields docsMore Open Source Projects APIs
Come back to see anything that changed: answers, keys, browser access, rate limits.
Our test call Measured by us
- Request
GET https://img.shields.io/badge/build-passing-green- Result
- HTTP 200 in 618 ms (632 ms with the body)
- From a browser
- Browser OK Access-Control-Allow-Origin: *
- HTTPS
- Yes
- Response
- image/svg+xml, 1,285 bytes
- Rate-limit headers
- none sent (that doesn't mean unlimited)
Access-Control-Allow-Origin: * to us, so browser code can call it.Change log Measured by us
No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.
What the list says From the public-apis list
- Category
- Open Source Projects
- Auth
- No key
- CORS
- Not recorded Our call disagrees
- Docs link
- shields.io answered 200 in 2925 ms on 2026-11-06 Measured
Shields is listed in Open Source Projects. Shields needs no key: you can call it without signing up. The list doesn't record whether it allows browser calls (CORS), so test that before building a browser-only app on it.
The list has 10 Open Source Projects APIs: 8 need no key, 1 needs an API key and 1 uses OAuth, and 5 of them are marked as allowing browser calls. 3 others have the same setup, such as Countly, Datamuse and Drupal.org.
Shields and other Open Source Projects APIs
| Fact | Shields (this page) | Datamuse | Drupal.org | Evil Insult Generator | GitHub Contribution Chart Generator |
|---|---|---|---|---|---|
| Key needed From the public-apis list | No key | No key | No key | No key | No key |
| CORS, as listed From the public-apis list | Not recorded | Not recorded | Not recorded | Yes | Yes |
| Our test call Measured by us | 618 ms | 248 ms | Not tested | Not tested | Not tested |
| Browser call Measured by us | Allowed | Allowed | — | — | — |
| Docs link Measured by us | Answered | Answered | Answered | Answered | Answered |
Questions
Does Shields need an API key?
Shields needs no key: you can call it without signing up.
Can I call Shields from JavaScript in the browser?
Yes. When we called it it sent Access-Control-Allow-Origin: *, so a web page can call it directly.
Where are the Shields docs?
At https://shields.io/. When we checked, the link answered 200 in 2925 ms.
What are some alternatives to Shields?
Other Open Source Projects APIs in the list include Countly, Datamuse and Drupal.org.
Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.