Dynamic JSON
Create a badge from any JSON API using JSONPath queries.
GET/badge/dynamic/json.svg
URL to a public JSON document.
JSONPath expression to extract the value.
Text to prepend to the extracted value.
Text to append to the extracted value.


JSONPath syntax
| Expression | Description |
|---|---|
$.key | Top-level field |
$.nested.key | Nested field |
$.array[0] | First array element |
$.array.length | Array length |
Examples
GitHub stars count
Secondary variant
Outline variant
Custom label
Copy-paste examples
Default — pull any value from any public JSON API
Secondary — softer look for README rows
Caching
Dynamic JSON responses are cached for 5 minutes.