dados.gov.pt Transfer API

The transfer API from dados.gov.pt — 2 operation(s) for transfer.

GitHub OpenAPI

Operations 4

GET /transfer/ List transfers #
POST /transfer/ Initiate transfer request #
GET /transfer/{id}/ Fetch a transfer request given its identifier #
POST /transfer/{id}/ Respond to a transfer request #

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/open-government-portugal:open-government-portugal-transfer-api"
All apis
curl "https://apis.io/api/v1/apis?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. See our Privacy Policy and Terms.

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

OpenAPI Specification

open-government-portugal-transfer-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: uData API
  title: uData Transfer API
  version: '1.0'
servers:
- url: /api/1
tags:
- name: Transfer
paths:
  /transfer/:
    get:
      operationId: list_transfers
      parameters:
      - description: An optional fields mask
        in: header
        name: X-Fields
        schema:
          type: string
          format: mask
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Transfer'
                type: array
      tags:
      - Transfer
      summary: List transfers
      x-summary-source: derived
    post:
      operationId: request_transfer
      parameters:
      - description: An optional fields mask
        in: header
        name: X-Fields
        schema:
          type: string
          format: mask
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Transfer'
      summary: Initiate transfer request
      tags:
      - Transfer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransferRequest'
        required: true
  /transfer/{id}/:
    parameters:
    - in: path
      name: id
      required: true
      schema:
        type: string
    get:
      operationId: get_transfer
      parameters:
      - description: An optional fields mask
        in: header
        name: X-Fields
        schema:
          type: string
          format: mask
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Transfer'
      summary: Fetch a transfer request given its identifier
      tags:
      - Transfer
    post:
      operationId: respond_to_transfer
      parameters:
      - description: An optional fields mask
        in: header
        name: X-Fields
        schema:
          type: string
          format: mask
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Transfer'
      summary: Respond to a transfer request
      tags:
      - Transfer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransferResponse'
        required: true
components:
  schemas:
    TransferRequest:
      properties:
        comment:
          description: An explanation about the transfer request
          type: string
        recipient:
          allOf:
          - $ref: '#/components/schemas/BaseReference'
          description: The transfer recipient, either an user or an organization
        subject:
          allOf:
          - $ref: '#/components/schemas/BaseReference'
          description: The transfered subject
      required:
      - comment
      - recipient
      - subject
      type: object
    Transfer:
      properties:
        comment:
          description: A comment about the transfer request
          readOnly: true
          type: string
        created:
          description: The transfer request date
          format: date-time
          readOnly: true
          type: string
        id:
          description: The transfer unique identifier
          readOnly: true
          type: string
        owner:
          allOf:
          - $ref: '#/components/schemas/BaseReference'
          description: The user or organization currently owning the transfered object
          readOnly: true
        recipient:
          allOf:
          - $ref: '#/components/schemas/BaseReference'
          description: The user or organization receiving the transfered object
          readOnly: true
        reponse_comment:
          description: A comment about the transfer response
          readOnly: true
          type: string
        responded:
          description: The transfer response date
          format: date-time
          readOnly: true
          type: string
        status:
          description: The current transfer request status
          enum:
          - pending
          - accepted
          - refused
          example: pending
          type: string
        subject:
          allOf:
          - $ref: '#/components/schemas/BaseReference'
          description: The transfered object
          readOnly: true
        user:
          allOf:
          - $ref: '#/components/schemas/UserReference'
          description: The user who requested the transfer
          readOnly: true
      type: object
    BaseReference:
      discriminator:
        propertyName: class
      properties:
        class:
          description: The object class
          type: string
        id:
          description: The object unique identifier
          type: string
      required:
      - class
      - id
      type: object
    UserReference:
      allOf:
      - $ref: '#/components/schemas/BaseReference'
      - properties:
          avatar:
            description: The user avatar URL
            type: string
          avatar_thumbnail:
            description: The user avatar thumbnail URL. This is the square (500x500) and cropped version.
            type: string
          first_name:
            description: The user first name
            readOnly: true
            type: string
          last_name:
            description: The user larst name
            readOnly: true
            type: string
          page:
            description: The user web page URL
            readOnly: true
            type: string
          slug:
            description: The user permalink string
            readOnly: true
            type: string
          uri:
            description: The API URI for this user
            readOnly: true
            type: string
        type: object
    TransferResponse:
      properties:
        comment:
          description: An optional comment about the transfer response
          type: string
        response:
          description: The response
          enum:
          - accept
          - refuse
          example: accept
          type: string
      required:
      - response
      type: object
  securitySchemes:
    apikey:
      in: header
      name: X-API-KEY
      type: apiKey