{
  "openapi": "3.0.1",
  "info": {
    "title": "Netherlands KvK → Company Markdown Profile",
    "description": "Dutch company profiles from the official KvK Handelsregister API (api.kvk.nl): name, KvK, RSIN, legal form, address, SBI, status, establishments as Markdown cards + JSON. Bring your own KvK API key. No scraping, no contacts. Failures free. 256 MB.",
    "version": "0.1",
    "x-build-id": "tyJqZUZ73LkbnLIR5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ingenious_quip_bxq~netherlands-kvk-markdown/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ingenious_quip_bxq-netherlands-kvk-markdown",
        "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/ingenious_quip_bxq~netherlands-kvk-markdown/runs": {
      "post": {
        "operationId": "runs-sync-ingenious_quip_bxq-netherlands-kvk-markdown",
        "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/ingenious_quip_bxq~netherlands-kvk-markdown/run-sync": {
      "post": {
        "operationId": "run-sync-ingenious_quip_bxq-netherlands-kvk-markdown",
        "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": {
          "kvkApiKey": {
            "title": "KvK API key (your own)",
            "type": "string",
            "description": "Your own KvK Handelsregister API key (sent as the `apikey` header to api.kvk.nl). Required for live data — without it KvK answers HTTP 401 and rows are marked failed (free). Apply at https://developers.kvk.nl/apply-for-apis. KvK bills you directly (EUR 6.40/month + EUR 0.02 per Basisprofiel/Vestigingsprofiel query; Zoeken free)."
          },
          "kvkNumbers": {
            "title": "KvK numbers",
            "type": "array",
            "description": "8-digit KvK (Chamber of Commerce) numbers. Spaces/dots allowed (e.g. `6875 0110`).",
            "items": {
              "type": "string"
            }
          },
          "rsins": {
            "title": "RSIN numbers (optional)",
            "type": "array",
            "description": "9-digit RSIN (legal entity number). Resolved to a KvK number via the free KvK Zoeken API.",
            "items": {
              "type": "string"
            }
          },
          "vestigingsnummers": {
            "title": "Vestigingsnummers / establishment numbers (optional)",
            "type": "array",
            "description": "12-digit establishment numbers. Resolved via Zoeken; with Vestigingsprofiel enabled, that establishment's profile is attached.",
            "items": {
              "type": "string"
            }
          },
          "companyNames": {
            "title": "Company names (optional, official Zoeken search)",
            "type": "array",
            "description": "Trade or statutory names searched with the official KvK Zoeken API (whole-word matching). Each match becomes one profile (charged).",
            "items": {
              "type": "string"
            }
          },
          "searchCity": {
            "title": "City filter for name search (optional)",
            "type": "string",
            "description": "Restrict company-name search to this plaats (city), e.g. `Amsterdam`."
          },
          "maxSearchResultsPerName": {
            "title": "Max matches per name",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Distinct KvK registrations profiled per company name.",
            "default": 3
          },
          "includeBasisprofiel": {
            "title": "Fetch Basisprofiel (recommended)",
            "type": "boolean",
            "description": "1 KvK query per company (EUR 0.02 on your KvK bill): legal form, RSIN, SBI codes, registration dates, main establishment and addresses. Off = light card from the free Zoeken API only (name, street, city).",
            "default": true
          },
          "includeEstablishments": {
            "title": "Fetch establishments list",
            "type": "boolean",
            "description": "1 extra KvK query per company: number of (non-)commercial establishments and their addresses.",
            "default": true
          },
          "includeVestigingsprofiel": {
            "title": "Fetch main establishment Vestigingsprofiel",
            "type": "boolean",
            "description": "1 extra KvK query per company: full-time / part-time working persons and establishment SBI codes for the main (or requested) establishment.",
            "default": false
          },
          "includeInactive": {
            "title": "Include inactive registrations in searches",
            "type": "boolean",
            "description": "Adds inclusiefInactieveRegistraties=true to Zoeken lookups (RSIN / vestigingsnummer / name).",
            "default": false
          },
          "includeGeoData": {
            "title": "Include geo coordinates",
            "type": "boolean",
            "description": "Adds geoData=true (GPS + BAG id) to addresses when KvK knows them.",
            "default": false
          },
          "maxEstablishmentsListed": {
            "title": "Max establishments listed per company",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "How many establishments are listed in the card (counts are always complete).",
            "default": 20
          },
          "maxItems": {
            "title": "Max company profiles",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Stop after this many successful profiles (each charged once).",
            "default": 50
          },
          "maxConcurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Parallel KvK requests.",
            "default": 2
          },
          "maxRetries": {
            "title": "Retries",
            "minimum": 0,
            "maximum": 6,
            "type": "integer",
            "description": "Retries on HTTP 429 / 5xx / timeouts / KvK IPD1002-IPD1003 (temporarily unavailable). 400/401/404 are never retried.",
            "default": 3
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (s)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Per-request timeout.",
            "default": 30
          },
          "useKvkTestEnvironment": {
            "title": "Use KvK TEST environment (free, fictitious data)",
            "type": "boolean",
            "description": "Try the Actor without a key: queries KvK's public test environment (api.kvk.nl/test) with KvK's published test key. Data is fictitious (e.g. KvK 68750110, 69599084, 90003942). Profiles are NOT charged. Your own key is not used.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}