Skip to main content
GET
/
api
/
indicators
/
{slug}
/
export-bundle
Export provenance bundle with citations
curl --request GET \
  --url https://macrobymark.com/api/indicators/{slug}/export-bundle \
  --header 'X-API-Key: <api-key>'
{
  "schema": "macrobymark/export-bundle/v1",
  "metadata": {},
  "observations": [
    {
      "date": "2023-12-25",
      "value": 123,
      "revised": true
    }
  ],
  "citations": {
    "apa": "<string>",
    "bibtex": "<string>",
    "inline": "<string>",
    "json": "<string>"
  },
  "attribution": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.macrobymark.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Path Parameters

slug
string
required

Query Parameters

format
enum<string>
default:bundle
Available options:
bundle,
citation

Response

200 - application/json

Export bundle or citation-only JSON

schema
string
Example:

"macrobymark/export-bundle/v1"

metadata
object
observations
object[]
citations
object
attribution
object