EU Open Data Portal Action API

The action API utilizes the [JSON-RPC 2.0](https://www.jsonrpc.org/specification) specification with the following constraints: * `id` reference needs to be a string * `params` are passed as object map, not as array list * `data` of an error is an object * Batch processing of actions is not yet supported Although a correlation identifier (`id`) is not necessary on top of HTTP, you should always include it to allow the server to distinguish between sync calls and notifications. Omit the `id` only in case of a notification. For notifications, the server will immediately respond with a `202 Accepted` without a body.

Operations 1

POST /action Call an Action #

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/eu-open-data-portal-action-api-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

eu-open-data-portal-action-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 5.8.3
  title: Metrics Cache Action API
  description: The API is designed to provide actual quality information for datasets.
  x-logo:
    url: images/logo
servers:
- url: ''
tags:
- name: Action API
  description: 'The action API utilizes the JSON-RPC 2.0 specification with the following constraints:


    * `id` reference needs to be a string

    * `params` are passed as object map, not as array list

    * `data` of an error is an object

    * Batch processing of actions is not yet supported


    Although a correlation identifier (`id`) is not necessary on top of HTTP, you should always include it to allow

    the server to distinguish between sync calls and notifications.'
paths:
  /action:
    post:
      tags:
      - Action API
      description: 'Post a JSON-RPC request to make a call to an action


        Currently the only defined action is `refreshScope` to start a pipe run.'
      summary: Call an Action
      operationId: postAction
      requestBody:
        description: The action in JSON-RPC format
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/refreshScope'
      responses:
        '200':
          description: JSON-RPC Response
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/JSON-RPCSuccess'
                - $ref: '#/components/schemas/JSON-RPCError'
        '202':
          description: In case of an omitted `id` correlator
components:
  schemas:
    JSON-RPCError:
      description: JSON-RPC Error Response
      type: object
      required:
      - error
      allOf:
      - $ref: '#/components/schemas/JSON-RPCBase'
      - type: object
        properties:
          error:
            $ref: '#/components/schemas/JSON-RPCErrorInfo'
        additionalProperties: false
    JSON-RPCSuccess:
      description: JSON-RPC Success Response
      type: object
      required:
      - result
      allOf:
      - $ref: '#/components/schemas/JSON-RPCBase'
      - type: object
        properties:
          result:
            description: Depending of the called method, the result can look differently.
            oneOf:
            - $ref: '#/components/schemas/refreshScopeResult'
        additionalProperties: false
    refreshScopeResult:
      description: Result in case of refreshScope request
      type: object
      required:
      - status
      properties:
        status:
          type: string
          enum:
          - accepted
      additionalProperties: false
    JSON-RPCErrorInfo:
      description: Error Information Object
      type: object
      required:
      - code
      - message
      properties:
        code:
          description: '* `-1` Means "Upsala"

            * `-7` Means "That''s not funny, I will not do it."

            * `-9` Means "I don''t know what you mean..."

            '
          type: integer
          enum:
          - -1
          - -7
          - -9
        message:
          type: string
        data:
          type: object
      additionalProperties: false
    JSON-RPCBase:
      description: JSON-RPC Base Schema
      type: object
      required:
      - jsonrpc
      properties:
        jsonrpc:
          description: JSON-RPC Version `2.0`
          type: string
          enum:
          - '2.0'
        id:
          description: Optional client side defined correlator.
          type: string
      additionalProperties: false
    refreshScope:
      description: Run Pipe Request
      type: object
      allOf:
      - $ref: '#/components/schemas/JSON-RPCBase'
      - type: object
        required:
        - method
        - params
        properties:
          method:
            type: string
            enum:
            - refreshScope
          params:
            description: Method parameters
            type: object
            required:
            - scope
            properties:
              scope:
                description: Aggregation scope of refresh
                type: string
                enum:
                - all
                - catalogue
              catalogueId:
                description: In case of scope 'catalogue' the catalogue id
                type: string
            additionalProperties: false
        additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT