{
  "openapi": "3.0.1",
  "info": {
    "title": "Peppol Directory Lookup & Daily E-Invoicing Registrations",
    "description": "Check Peppol IDs and VAT numbers: is a business registered for e-invoicing, which document types, which provider. Search 9.7 million participants by country and date, and get every new and removed ID daily since 20 Nov 2026. No contact data. Trial: 0.01 USD per 1,000 rows until 31 Dec 2026.",
    "version": "1.0",
    "x-build-id": "xslEglAHQ715eaPov"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cozybit~peppol-directory-registrations/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cozybit-peppol-directory-registrations",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/cozybit~peppol-directory-registrations/runs": {
      "post": {
        "operationId": "runs-sync-cozybit-peppol-directory-registrations",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/cozybit~peppol-directory-registrations/run-sync": {
      "post": {
        "operationId": "run-sync-cozybit-peppol-directory-registrations",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "What to return",
            "enum": [
              "registrations",
              "lookup",
              "changes"
            ],
            "type": "string",
            "description": "registrations: live directory search by source registration date, capped at 1,000 business entities per query. lookup: live exact ID or supported VAT check. changes: daily observed additions/removals, plus provider changes detected by your earlier tracked lookups.",
            "default": "registrations"
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Two-letter codes, such as FR or BE. Registrations requires countries or names. Changes also matches clearly national identifier schemes, labelled country_source=identifier_scheme; international identifiers can have an unknown country.",
            "items": {
              "type": "string"
            },
            "default": [
              "FR"
            ]
          },
          "dateFrom": {
            "title": "From date, inclusive",
            "type": "string",
            "description": "YYYY-MM-DD. Registrations: source business-card registration date, not when we discovered the ID. Changes: our observation date, with complete daily ID changes from 2026-11-20. With dateFrom only, search through today. Leave both dates empty for an undated live search or the latest change day."
          },
          "dateTo": {
            "title": "To date, inclusive",
            "type": "string",
            "description": "Same date basis as dateFrom: source registration date in registrations, observation date in changes. With dateTo only, registrations searches that one day. Empty source registration dates never match a dated registrations search; returned year-one and future source dates remain unchanged."
          },
          "names": {
            "title": "Names contain",
            "type": "array",
            "description": "Any matching business name, at least 3 characters. Changes excludes and counts pending IDs without known names. Such IDs remain available through an unfiltered or country-only changes run.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "documentTypes": {
            "title": "Document type text or URNs",
            "type": "array",
            "description": "Any case-insensitive document URN substring, such as Invoice, CreditNote, or a full URN. Applied to returned live results, so the source's 1,000 cap can reduce matches. Changes excludes and counts pending IDs without document details.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "participantIds": {
            "title": "Participant IDs to check",
            "type": "array",
            "description": "Lookup only. Full scheme::value identities or bare EAS:value, such as 0002:000126010. One lookup charge per input, including not_registered. All inputs are validated before charging.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "vatNumbers": {
            "title": "VAT numbers to check",
            "type": "array",
            "description": "Lookup only. Verified candidate mappings for BE, FR, DE and NL VAT numbers, including country prefix. Use participantIds for other countries. One answer and charge per input, even when two candidate schemes are checked.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "trackProviders": {
            "title": "Track providers from these lookups",
            "type": "boolean",
            "description": "Remember providers in your own state. Later tracked lookups create provider_changed events when the DNS SMP host differs; changes only replays them and never refreshes DNS. Concurrent lookups are last-write-wins.",
            "default": false
          },
          "changedSince": {
            "title": "Changes after date",
            "type": "string",
            "description": "Changes only, YYYY-MM-DD, exclusive observation-date cutoff. Overrides the stored monitor date. Use this with a larger maxResults to recover a capped run."
          },
          "onlyNewSinceLastRun": {
            "title": "Only changes since my last successful run",
            "type": "boolean",
            "description": "Changes only. Remembers the latest observation date and your provider-event cursor separately for each filter set. Successful capped runs advance too; RUN_SUMMARY gives a recovery cutoff.",
            "default": false
          },
          "changeTypes": {
            "title": "Change types",
            "type": "array",
            "description": "Empty means all types. registered means first detected as present, not necessarily a new legal registration. Removed names are last-known only when previously enriched, otherwise null. No business-card-change or full-pass feature exists.",
            "items": {
              "type": "string",
              "enum": [
                "registered",
                "removed",
                "provider_changed"
              ]
            },
            "default": []
          },
          "maxResults": {
            "title": "Maximum charged rows",
            "minimum": 1,
            "type": "integer",
            "description": "Distinct participants in registrations, one answer per lookup input, or delivered change events. Free Apify plans stop at 100 rows, even when this is higher. Reads and exact lookups stop at the limit.",
            "default": 100
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}