Skip to main content
Glama

Afriref: cited government reference data

get_series_history

Read-onlyIdempotent

PAID ($0.005). Historical values of a reference series with effective date ranges, optionally filtered by from/to (YYYY-MM-DD). Pass api_key if you have one (instant card checkout at /pricing); otherwise the response explains how to pay via x402. Every GH series is free to try. After a 200, bind get_changes (free poll) or register_alert (HMAC push; Register: $0 · Delivery after trial: $0.10) on this series so a later gazette does not silently retire the value.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoLatest effective date, YYYY-MM-DD
fromNoEarliest effective date, YYYY-MM-DD
seriesYesSeries id
api_keyNoAPI key
countryYesISO country code

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent on a free refusal or error; no charge
staleNo
seriesNo
countryNo
entriesNo
no_chargeNo
price_usdNo
disclaimerNo
how_to_payNo
bind_seriesNo
explanationNo
label_basisNoInputs and the rule ids that produced the two labels
x_next_bindNo
http_endpointNo
coverage_labelNoHow much of the question is covered: ready = complete; partial = held with a disclosed limitation or default; gap = no number served. Rules at /label-rules
confidence_labelNoEvidence verdict derived from source type, verification age and the stale flag (answers: the weakest series read). Rules at /label-rules
payment_requiredNotrue when the call needs payment; how_to_pay explains x402 or card

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedOutput schema / description
      Previous value: -"Historical entries of one series"New value: +"Historical entries of one series; top-level labels describe the current value, and each entry carries its own"
    • addedOutput schema / properties / confidence_label
      Added value: +{
      +  "description": "Evidence verdict derived from source type, verification age and the stale flag (answers: the weakest series read). Rules at /label-rules",
      +  "enum": [
      +    "high",
      +    "medium",
      +    "low"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / coverage_label
      Added value: +{
      +  "description": "How much of the question is covered: ready = complete; partial = held with a disclosed limitation or default; gap = no number served. Rules at /label-rules",
      +  "enum": [
      +    "ready",
      +    "partial",
      +    "gap"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / entries / items / additionalProperties
      Added value: +{}
    • addedOutput schema / properties / entries / items / properties
      Added value: +{
      +  "confidence": {},
      +  "confidence_label": {
      +    "description": "Evidence verdict derived from source type, verification age and the stale flag (answers: the weakest series read). Rules at /label-rules",
      +    "enum": [
      +      "high",
      +      "medium",
      +      "low"
      +    ],
      +    "type": "string"
      +  },
      +  "country": {
      +    "type": "string"
      +  },
      +  "coverage_label": {
      +    "description": "How much of the question is covered: ready = complete; partial = held with a disclosed limitation or default; gap = no number served. Rules at /label-rules",
      +    "enum": [
      +      "ready",
      +      "partial",
      +      "gap"
      +    ],
      +    "type": "string"
      +  },
      +  "effective_from": {},
      +  "label_basis": {
      +    "additionalProperties": {},
      +    "description": "Inputs and the rule ids that produced the two labels",
      +    "properties": {
      +      "confidence_reasons": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "coverage_reasons": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "inputs": {
      +        "items": {},
      +        "type": "array"
      +      },
      +      "rules": {
      +        "type": "string"
      +      },
      +      "rules_version": {
      +        "type": "string"
      +      },
      +      "source_type": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "stale": {
      +        "type": "boolean"
      +      },
      +      "verification_age_days": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "last_confirmed": {},
      +  "notes": {},
      +  "series": {
      +    "type": "string"
      +  },
      +  "source": {},
      +  "stale": {
      +    "type": "boolean"
      +  },
      +  "unit": {},
      +  "value": {}
      +}
    • addedOutput schema / properties / entries / items / type
      Added value: +"object"
    • addedOutput schema / properties / label_basis
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Inputs and the rule ids that produced the two labels",
      +  "properties": {
      +    "confidence_reasons": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "coverage_reasons": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "inputs": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "rules": {
      +      "type": "string"
      +    },
      +    "rules_version": {
      +      "type": "string"
      +    },
      +    "source_type": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "stale": {
      +      "type": "boolean"
      +    },
      +    "verification_age_days": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "description": "Historical entries of one series",
      +  "properties": {
      +    "bind_series": {},
      +    "country": {
      +      "type": "string"
      +    },
      +    "disclaimer": {},
      +    "entries": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "error": {
      +      "description": "Present on a free refusal or error; no charge"
      +    },
      +    "explanation": {},
      +    "how_to_pay": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "http_endpoint": {
      +      "type": "string"
      +    },
      +    "no_charge": {
      +      "type": "boolean"
      +    },
      +    "payment_required": {
      +      "description": "true when the call needs payment; how_to_pay explains x402 or card",
      +      "type": "boolean"
      +    },
      +    "price_usd": {
      +      "type": "number"
      +    },
      +    "series": {
      +      "type": "string"
      +    },
      +    "stale": {
      +      "type": "boolean"
      +    },
      +    "x_next_bind": {}
      +  },
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "ao",
      -  "bf",
      -  "bj",
      -  "bw",
      -  "cf",
      -  "cg",
      -  "ci",
      -  "cm",
      -  "dz",
      -  "eg",
      -  "et",
      -  "ga",
      -  "gh",
      -  "gq",
      -  "ke",
      -  "ma",
      -  "ml",
      -  "mu",
      -  "mz",
      -  "na",
      -  "ne",
      -  "ng",
      -  "rw",
      -  "sn",
      -  "td",
      -  "tg",
      -  "tn",
      -  "tz",
      -  "ug",
      -  "zm"
      -]New value: +[
      +  "ao",
      +  "bf",
      +  "bj",
      +  "bw",
      +  "cd",
      +  "cf",
      +  "cg",
      +  "ci",
      +  "cm",
      +  "dz",
      +  "eg",
      +  "et",
      +  "ga",
      +  "gh",
      +  "gq",
      +  "ke",
      +  "ls",
      +  "ma",
      +  "ml",
      +  "mu",
      +  "mz",
      +  "na",
      +  "ne",
      +  "ng",
      +  "rw",
      +  "sn",
      +  "sz",
      +  "td",
      +  "tg",
      +  "tn",
      +  "tz",
      +  "ug",
      +  "za",
      +  "zm"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "ao",
      -  "bf",
      -  "bj",
      -  "bw",
      -  "cf",
      -  "cg",
      -  "ci",
      -  "cm",
      -  "dz",
      -  "eg",
      -  "et",
      -  "ga",
      -  "gh",
      -  "gq",
      -  "ke",
      -  "ma",
      -  "ml",
      -  "mu",
      -  "mz",
      -  "na",
      -  "ne",
      -  "ng",
      -  "rw",
      -  "sn",
      -  "td",
      -  "tg",
      -  "tz",
      -  "ug",
      -  "zm"
      -]New value: +[
      +  "ao",
      +  "bf",
      +  "bj",
      +  "bw",
      +  "cf",
      +  "cg",
      +  "ci",
      +  "cm",
      +  "dz",
      +  "eg",
      +  "et",
      +  "ga",
      +  "gh",
      +  "gq",
      +  "ke",
      +  "ma",
      +  "ml",
      +  "mu",
      +  "mz",
      +  "na",
      +  "ne",
      +  "ng",
      +  "rw",
      +  "sn",
      +  "td",
      +  "tg",
      +  "tn",
      +  "tz",
      +  "ug",
      +  "zm"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "bf",
      -  "bj",
      -  "bw",
      -  "cf",
      -  "cg",
      -  "ci",
      -  "cm",
      -  "eg",
      -  "et",
      -  "ga",
      -  "gh",
      -  "gq",
      -  "ke",
      -  "ma",
      -  "ml",
      -  "na",
      -  "ne",
      -  "ng",
      -  "rw",
      -  "sn",
      -  "td",
      -  "tg",
      -  "tz",
      -  "ug",
      -  "zm"
      -]New value: +[
      +  "ao",
      +  "bf",
      +  "bj",
      +  "bw",
      +  "cf",
      +  "cg",
      +  "ci",
      +  "cm",
      +  "dz",
      +  "eg",
      +  "et",
      +  "ga",
      +  "gh",
      +  "gq",
      +  "ke",
      +  "ma",
      +  "ml",
      +  "mu",
      +  "mz",
      +  "na",
      +  "ne",
      +  "ng",
      +  "rw",
      +  "sn",
      +  "td",
      +  "tg",
      +  "tz",
      +  "ug",
      +  "zm"
      +]
  6. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "bf",
      -  "bj",
      -  "cf",
      -  "cg",
      -  "ci",
      -  "cm",
      -  "eg",
      -  "et",
      -  "ga",
      -  "gh",
      -  "gq",
      -  "ke",
      -  "ma",
      -  "ml",
      -  "ne",
      -  "ng",
      -  "rw",
      -  "sn",
      -  "td",
      -  "tg",
      -  "tz",
      -  "ug"
      -]New value: +[
      +  "bf",
      +  "bj",
      +  "bw",
      +  "cf",
      +  "cg",
      +  "ci",
      +  "cm",
      +  "eg",
      +  "et",
      +  "ga",
      +  "gh",
      +  "gq",
      +  "ke",
      +  "ma",
      +  "ml",
      +  "na",
      +  "ne",
      +  "ng",
      +  "rw",
      +  "sn",
      +  "td",
      +  "tg",
      +  "tz",
      +  "ug",
      +  "zm"
      +]
  7. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "bj",
      -  "ci",
      -  "eg",
      -  "et",
      -  "gh",
      -  "ke",
      -  "ma",
      -  "ne",
      -  "ng",
      -  "rw",
      -  "sn",
      -  "tz",
      -  "ug"
      -]New value: +[
      +  "bf",
      +  "bj",
      +  "cf",
      +  "cg",
      +  "ci",
      +  "cm",
      +  "eg",
      +  "et",
      +  "ga",
      +  "gh",
      +  "gq",
      +  "ke",
      +  "ma",
      +  "ml",
      +  "ne",
      +  "ng",
      +  "rw",
      +  "sn",
      +  "td",
      +  "tg",
      +  "tz",
      +  "ug"
      +]
  8. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "ci",
      -  "eg",
      -  "et",
      -  "gh",
      -  "ke",
      -  "ma",
      -  "ng",
      -  "rw",
      -  "sn",
      -  "tz",
      -  "ug"
      -]New value: +[
      +  "bj",
      +  "ci",
      +  "eg",
      +  "et",
      +  "gh",
      +  "ke",
      +  "ma",
      +  "ne",
      +  "ng",
      +  "rw",
      +  "sn",
      +  "tz",
      +  "ug"
      +]
  9. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.