Uppsala University Dyadic API

The Dyadic API from Uppsala University — 1 operation(s) for dyadic.

Operations 1

GET /api/Dyadic/{version}

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/uppsala-dyadic-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

uppsala-dyadic-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UCDP - The Public BattleDeaths Dyadic API
  description: 'Uppsala Conflict Data Program (UCDP) RESTful HTTP API returning JSON for UCDP conflict datasets: georeferenced events, UCDP/PRIO armed conflict, dyadic, non-state, one-sided violence, battle-related deaths, and organized violence country-year. Access requires a free token supplied in the x-ucdp-access-token header (quota 5,000 requests/day).'
  version: '1.0'
  contact:
    name: Uppsala Conflict Data Program
    url: https://ucdp.uu.se/apidocs/
servers:
- url: https://ucdpapi.pcr.uu.se
  description: UCDP Public API
security:
- ApiToken: []
tags:
- name: Dyadic
paths:
  /api/Dyadic/{version}:
    get:
      tags:
      - Dyadic
      parameters:
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: pagesize
        in: query
        schema:
          type: string
      - name: page
        in: query
        schema:
          type: string
      - name: Country
        in: query
        schema:
          type: string
      - name: Conflict
        in: query
        schema:
          type: string
      - name: ConflictType
        in: query
        schema:
          type: string
      - name: Year
        in: query
        schema:
          type: string
      - name: ConflictIncompatibility
        in: query
        schema:
          type: string
      - name: Dyad
        in: query
        schema:
          type: string
      - name: Key
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DyadicDbAPIResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/DyadicDbAPIResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/DyadicDbAPIResponse'
components:
  schemas:
    DyadicDb:
      type: object
      properties:
        dyad_id:
          type:
          - string
          - 'null'
        conflict_id:
          type:
          - string
          - 'null'
        location:
          type:
          - string
          - 'null'
        side_a:
          type:
          - string
          - 'null'
        side_a_id:
          type:
          - string
          - 'null'
        side_a_2nd:
          type:
          - string
          - 'null'
        side_b:
          type:
          - string
          - 'null'
        side_b_id:
          type:
          - string
          - 'null'
        side_b_2nd:
          type:
          - string
          - 'null'
        incompatibility:
          type:
          - string
          - 'null'
        territory_name:
          type:
          - string
          - 'null'
        year:
          type:
          - string
          - 'null'
        intensity_level:
          type:
          - string
          - 'null'
        type_of_conflict:
          type:
          - string
          - 'null'
        start_date:
          type:
          - string
          - 'null'
        start_prec:
          type:
          - string
          - 'null'
        start_date2:
          type:
          - string
          - 'null'
        start_prec2:
          type:
          - string
          - 'null'
        gwno_a:
          type:
          - string
          - 'null'
        gwno_a_2nd:
          type:
          - string
          - 'null'
        gwno_b:
          type:
          - string
          - 'null'
        gwno_b_2nd:
          type:
          - string
          - 'null'
        gwno_loc:
          type:
          - string
          - 'null'
        region:
          type:
          - string
          - 'null'
        version:
          type:
          - string
          - 'null'
      additionalProperties: false
    DyadicDbAPIResponse:
      type: object
      properties:
        TotalCount:
          type:
          - integer
          - 'null'
          format: int32
        TotalPages:
          type:
          - integer
          - 'null'
          format: int32
        PreviousPageUrl:
          type:
          - string
          - 'null'
        NextPageUrl:
          type:
          - string
          - 'null'
        Result:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/DyadicDb'
      additionalProperties: false
  securitySchemes:
    ApiToken:
      type: apiKey
      description: UCDP API token sent in x-ucdp-access-token header
      name: x-ucdp-access-token
      in: header