TransactionsResponse

PhilanthropyGrantsNon-ProfitFoundationsIRS 990Open DataGovernment SpendingResearchAgentsRESTJSONMCPSQL

Properties

Name Type Description
code integer
message string
x_plinth object
hits integer Total matching rows, not the number returned.
page integer
limit integer
results_count integer Rows in THIS response.
total_pages integer
results array
View JSON Schema on GitHub

JSON Schema

plinth-us-grants-data-transactions-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/plinth-us-grants-data/json-schema/plinth-us-grants-data-transactions-response-schema.json",
  "title": "TransactionsResponse",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/plinth-us-grants-data-grants-api-openapi.yml#/components/schemas/TransactionsResponse",
  "properties": {
    "code": {
      "type": "integer",
      "title": "Code",
      "default": 200
    },
    "message": {
      "type": "string",
      "title": "Message"
    },
    "x_plinth": {
      "anyOf": [
        {
          "$ref": "#/$defs/XPlinth"
        },
        {
          "type": "null"
        }
      ]
    },
    "hits": {
      "type": "integer",
      "title": "Hits",
      "description": "Total matching rows, not the number returned."
    },
    "page": {
      "type": "integer",
      "title": "Page"
    },
    "limit": {
      "type": "integer",
      "title": "Limit"
    },
    "results_count": {
      "type": "integer",
      "title": "Results Count",
      "description": "Rows in THIS response."
    },
    "total_pages": {
      "type": "integer",
      "title": "Total Pages"
    },
    "results": {
      "items": {
        "$ref": "#/$defs/GrantTransaction"
      },
      "type": "array",
      "title": "Results"
    }
  },
  "type": "object",
  "required": [
    "message",
    "hits",
    "page",
    "limit",
    "results_count",
    "total_pages",
    "results"
  ],
  "$defs": {
    "DatasetStamp": {
      "properties": {
        "source": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Source"
        },
        "refresh": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Refresh"
        },
        "polled": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Polled",
          "description": "How often we LOOK for a new IRS release, as distinct from how often the IRS publishes one."
        },
        "reporting_lag": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reporting Lag",
          "description": "Why a figure is dated to a fiscal year rather than to today."
        },
        "basis": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Basis",
          "description": "Grants PAID versus grants approved — the reconciliation that catches people comparing a total here to a funder's own published giving figure. Read it before filing a discrepancy."
        },
        "version": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Version",
          "description": "Opaque build stamp of the data slice. Changes only when the data does."
        },
        "generated_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Generated At",
          "description": "ISO 8601 timestamp the slice was built."
        },
        "license": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "License",
          "description": "Licence the source data is published under, where it carries one. Absent for public-domain sources."
        },
        "attribution": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Attribution",
          "description": "Attribution the source licence obliges you to reproduce. Present it verbatim wherever you show figures from this jurisdiction."
        },
        "currency": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Currency",
          "description": "Currency of every amount in the response, when it is not US dollars. Amounts are never converted — they are the filing's own figures."
        }
      },
      "type": "object",
      "title": "DatasetStamp",
      "description": "Provenance of the slice that answered. `version` is the sync signal — poll it, re-pull when it moves."
    },
    "ExcludedClass": {
      "properties": {
        "grants": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Grants",
          "description": "Rows dropped. Null when the cost could not be measured — see `unavailable`."
        },
        "dollars": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Dollars",
          "description": "Dollars dropped. Null when the cost could not be measured."
        },
        "definition": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Definition",
          "description": "What this class means, single-sourced from config/candid-compat.json."
        },
        "unavailable": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Unavailable",
          "description": "Present only when the accounting failed. The totals in the response are unaffected — a failed measurement never fails a correct answer."
        }
      },
      "type": "object",
      "title": "ExcludedClass",
      "description": "What one `?exclude=` class cost, measured against the caller's own filter."
    },
    "GrantProvenance": {
      "properties": {
        "match_prob": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Match Prob",
          "description": "P(this recipient EIN is correct), on every resolved row. The GRANULARITY differs and `ein_source` says which: rows resolved by the model carry a per-row calibrated posterior (isotonic-fitted on held-out validation); rows resolved by a rule carry that rule's measured held-out precision — a per-rule estimate, not a posterior. Null means the row is unresolved, or its provenance predates the field. Filter on it and you keep the rule-resolved majority as well as the model's rows. ⚠️ THE MODEL'S VALUES TOP OUT BELOW 1. Isotonic calibration can only emit values it observed on validation, so model rows span roughly 0.95-0.965 and NOTHING carries a model probability above ~0.965. A filter of `match_prob > 0.97` therefore returns zero model rows while still returning `filed` (0.995) and `name` (0.970) — it reads as a confidence threshold and acts as a provenance filter. Use `ein_source` if that is what you meant."
        },
        "source_tier": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Source Tier",
          "description": "Which extraction tier produced the row: `universe` (lean, from the filing index) or `matched` (rich, with a confidence). **Currently `universe` on every row.**"
        },
        "ein_source": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ein Source",
          "description": "How the recipient EIN was arrived at, with the measured precision each carries in `match_prob`. Ordered strongest first; the resolver applies them in this order and a later rule only ever sees what the earlier ones declined. `filed` (0.995) the filer stated it on the return. `override_human` (0.99) an adjudicated correction. `override_keyerror` (0.98) a filer-stated EIN that exists in no register and is one identifiable keying slip from the EIN of the organisation the name resolves to — a correction of the filer, not of us. `name` (0.970) exact normalised name, unique within state. `registry-dominant` (0.970) an ambiguous alias where one EIN holds >=90% of the distinct funders who file that name. `fuzzy` (0.961) one edit from a registered name, with the ZIP agreeing. `override_llm` (0.95) an LLM adjudication of an ambiguous string. `registry` (0.944) the Schedule I alias registry, gated at 2+ distinct funders. `address` (0.944) address-as-key with a 2-edit name gate. `zip` (0.934) same name, disambiguated by recipient ZIP. `street` (0.834) same name, disambiguated by street — the weakest rule; exclude it if precision matters more than reach. `model` a per-row calibrated posterior, see `match_prob`. `null`: no recipient EIN, or provenance predating this field. Filter to `filed` for anything load-bearing."
        }
      },
      "type": "object",
      "title": "GrantProvenance",
      "description": "`match_prob` IS NOW POPULATED ON EVERY RESOLVED ROW, and `ein_source` says what it means.\n\nThis previously read \"match_prob is null on every row\", because it was only ever written on the\n`grant_line` tier, which is empty in the published slice. It is now written across the universe:\nevery row with a recipient EIN carries a probability, and every row without one carries null.\n\n`ein_source` remains the field to filter on when you want a specific provenance rather than a\nthreshold — `ein_source = 'filed'` is the filer-stated subset.\n\nWHERE THE NUMBER COMES FROM. Rows resolved by a RULE carry that rule's measured held-out\nprecision — a per-rule estimate applied to its rows, not a posterior. Rows resolved by the\nMODEL (`ein_source='model'`) carry a genuine per-row calibrated probability, isotonic-fitted on a\nheld-out validation split and measured to track observed rates within a few tenths of a point.\n\nAn earlier version of this docstring said a calibrated posterior \"needs Splink, which is not\nwired\". That is no longer true: pipeline/match_model.py fits a gradient-boosted matcher on the\nresidual the rules decline, using filer-stated EINs as free ground truth.\n\nTHE CAVEAT THAT TRAVELS WITH IT. Those labels come from 990/990-EZ Schedule I filers, whose\nrecipients skew larger and better-registered than the 990-PF names the resolver mostly works on,\nso the figures are an optimistic estimate of deployed precision. An off-corpus 990-PF grantee\nlist scored 0.9876 on the same rules, so the gap is not large — but it is one funder."
    },
    "GrantTransaction": {
      "properties": {
        "funder_ein": {
          "type": "string",
          "title": "Funder Ein"
        },
        "funder_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Funder Name"
        },
        "recip_ein": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Recip Ein"
        },
        "recip_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Recip Name"
        },
        "recip_city": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Recip City"
        },
        "recip_state": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Recip State"
        },
        "recip_zip": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Recip Zip"
        },
        "recip_country": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Recip Country"
        },
        "amount": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Amount"
        },
        "fiscal_year": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Fiscal Year",
          "description": "Fiscal year of the FILING, not the payment date."
        },
        "subject": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Subject"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Description"
        },
        "x_plinth": {
          "anyOf": [
            {
              "$ref": "#/$defs/GrantProvenance"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "type": "object",
      "required": [
        "funder_ein"
      ],
      "title": "GrantTransaction",
      "description": "One grant line as filed. `recip_ein` is null where we would not stake an EIN on the name.\n\n⚠️ `recip_name` IS THE REGISTERED NAME WHERE THE EIN RESOLVED, not the string on the filing. The\nprojection is `coalesce(registered_name, as_filed)`, so a resolved row shows what the IRS calls\nthe organisation and an unresolved row shows what the filer typed. Reconciling a row back to its\nsource filing therefore needs `recip_ein` and the funder's return, not this field — an external\naudit read the difference as a substitution specific to one `ein_source`, which is the shape it\npresents, though it applies to every resolved row."
    },
    "ResponseWarning": {
      "properties": {
        "parameter": {
          "type": "string",
          "title": "Parameter"
        },
        "severity": {
          "type": "string",
          "title": "Severity",
          "description": "`caveat` informs; anything else means a filter did NOT apply."
        },
        "reason": {
          "type": "string",
          "title": "Reason"
        }
      },
      "type": "object",
      "required": [
        "parameter",
        "severity",
        "reason"
      ],
      "title": "ResponseWarning",
      "description": "A parameter we recognized but could not honor, named rather than silently dropped."
    },
    "Unidentified": {
      "properties": {
        "grants": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Grants"
        },
        "dollars": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Dollars"
        },
        "note": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Note"
        },
        "unavailable": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Unavailable",
          "description": "Present only when the size could not be computed. The ranking above is unaffected."
        }
      },
      "type": "object",
      "title": "Unidentified",
      "description": "Grants held OUT of a recipient ranking because their recipient is not an organization."
    },
    "XPlinth": {
      "properties": {
        "warnings": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/ResponseWarning"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Warnings"
        },
        "unsupported": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Unsupported",
          "description": "Parameters that did not apply. Non-empty means the answer is not the question asked."
        },
        "dataset": {
          "anyOf": [
            {
              "$ref": "#/$defs/DatasetStamp"
            },
            {
              "type": "null"
            }
          ]
        },
        "datasets": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/DatasetStamp"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Datasets",
          "description": "Every corpus this response could have drawn on, each with its own licence terms. /sql only: you write the query, so which corpus answered is not knowable per response — honour every licence listed."
        },
        "excluded": {
          "anyOf": [
            {
              "additionalProperties": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ExcludedClass"
                  },
                  {
                    "type": "boolean"
                  }
                ]
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Excluded",
          "description": "Per-class cost of `?exclude=`, keyed by class name, plus `overlapping` — true when classes were counted independently and therefore sum to more than the whole. /grants/summary only."
        },
        "unidentified": {
          "anyOf": [
            {
              "$ref": "#/$defs/Unidentified"
            },
            {
              "type": "null"
            }
          ],
          "description": "On /grants/recipients: the grants held out of the ranking because their recipient is a person, a class of people, or nobody the filer named. Add these back to reconcile with /grants/summary."
        }
      },
      "type": "object",
      "title": "XPlinth",
      "description": "Non-Candid metadata. Safe to ignore for compatibility; `unsupported` is the one to assert on."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/plinth-us-grants-data-transactions-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.