Newcastle University · Example Payload

Newcastle Ecppec Graphql Example

UniversityHigher EducationEducationUnited KingdomRussell GroupResearch DataOpen DataDigital LibraryIdentity FederationSmart CitiesCultural Heritage

Newcastle Ecppec Graphql Example is an example object payload from Newcastle University, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

data_meta

Example Payload

Raw ↑
{
  "data": {
    "elections": [
      {
        "election_id": "Beds_1780a",
        "election_year": "1780",
        "constituency": "Bedfordshire",
        "office": "parliament",
        "contested": "N"
      },
      {
        "election_id": "Beds_1784a",
        "election_year": "1784",
        "constituency": "Bedfordshire",
        "office": "parliament",
        "contested": "Y"
      },
      {
        "election_id": "Bedford_1780a",
        "election_year": "1780",
        "constituency": "Bedford",
        "office": "parliament",
        "contested": "Y"
      }
    ],
    "constituencies": [
      {
        "constituency_id": 1,
        "constituency": "Abingdon",
        "has_data": false
      },
      {
        "constituency_id": 2,
        "constituency": "Aldborough",
        "has_data": false
      },
      {
        "constituency_id": 3,
        "constituency": "Aldeburgh",
        "has_data": false
      }
    ]
  },
  "_meta": {
    "generated": "2026-08-30",
    "method": "probed",
    "source": "POST https://api-ecppec.ncl.ac.uk/ (GraphQL)",
    "x-operator": "institution",
    "query": "{ elections(election_year_gte:1780, election_year_lte:1784, take:3){ election_id election_year constituency office contested } constituencies(take:3){ constituency_id constituency has_data } }",
    "note": "Live unauthenticated GraphQL response captured 2026-08-30."
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example 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 example
curl "https://apis.io/api/v1/examples/newcastle-ecppec-graphql-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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