{"openapi":"3.0.3","info":{"title":"mhub — business data & functions API","version":"0.1.0","description":"Headless business platform: 17 connectors behind one key-authenticated API. Generated from the live connector registry."},"servers":[{"url":"https://api.mhub.one"}],"tags":[{"name":"Data","description":"Lookup / enrich from upstream sources"},{"name":"Function","description":"Local compute — no upstream limits"},{"name":"Composition","description":"Multiple connectors condensed into one call"},{"name":"Platform","description":"Discovery, keys, plans, usage"}],"paths":{"/health":{"get":{"tags":["Platform"],"summary":"Liveness, connector count and company-index state (ok | missing | unreadable)","responses":{"200":{"description":"OK"}}}},"/connectors":{"get":{"tags":["Platform"],"summary":"Self-discovery catalog (params, TTLs, categories, tiers)","responses":{"200":{"description":"Connector catalog"}}}},"/plans":{"get":{"tags":["Platform"],"summary":"Available plans with prices and monthly quotas","responses":{"200":{"description":"Plan list"}}}},"/keys":{"post":{"tags":["Platform"],"summary":"Issue an API key on a plan (self-service)","description":"Free plan returns an active key immediately. Paid plans return a pending key plus a checkoutUrl; the key activates once checkout completes.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Your name or company"},"plan":{"type":"string","enum":["developer","startup","business","demo","agency"],"description":"Plan id"}}}}}},"responses":{"200":{"description":"Key issued (free) or checkout started (paid)"},"400":{"description":"Unknown plan, or custom plan requiring sales contact","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/_usage":{"get":{"tags":["Platform"],"summary":"Current key's plan, quota and usage this month","security":[{"ApiKeyAuth":[]}],"responses":{"200":{"description":"Usage summary"},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/_keys/rotate":{"post":{"tags":["Platform"],"summary":"Rotate the current API key (old key stops working immediately)","security":[{"ApiKeyAuth":[]}],"responses":{"200":{"description":"New apiKey; usage history carries over"},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/_keys/revoke":{"post":{"tags":["Platform"],"summary":"Permanently disable the current API key","security":[{"ApiKeyAuth":[]}],"responses":{"200":{"description":"Key revoked"},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/_activity/{connector}":{"get":{"tags":["Platform"],"summary":"Cache-hit rate and recent calls for a connector","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"connector","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50}}],"responses":{"200":{"description":"Stats + recent log entries"},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/batch":{"post":{"tags":["Platform"],"summary":"Run up to 20 connector calls in one request","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["requests"],"properties":{"requests":{"type":"array","maxItems":20,"items":{"type":"object","required":["connector"],"properties":{"connector":{"type":"string","enum":["weather","logos","vat","iban","forex","holidays","geocode","postal","domain","linkpreview","qr","phone","email","token","convert","workdays","company-profile"]},"params":{"type":"object","additionalProperties":{"type":"string"}}}}}}}}}},"responses":{"200":{"description":"Array of per-call results (envelopes or errors)"},"400":{"description":"Malformed batch body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/weather":{"get":{"tags":["Data"],"summary":"Current weather for a location, including an isRaining flag. Provide either 'city' (geocoded) or both 'lat' and 'lon'. Source: admin-configured provider (Open-Meteo, WeatherAPI.com) with automatic fallback.","description":"Cache TTL: 600s · License tier: Metered","operationId":"get_weather","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"city","in":"query","required":false,"description":"City name, e.g. 'Berlin'. Omit if using lat/lon.","schema":{"type":"string"}},{"name":"lat","in":"query","required":false,"description":"Latitude (-90..90). Requires 'lon'. Skips geocoding.","schema":{"type":"string"}},{"name":"lon","in":"query","required":false,"description":"Longitude (-180..180). Requires 'lat'. Skips geocoding.","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Data"],"summary":"Current weather for a location, including an isRaining flag. Provide either 'city' (geocoded) or both 'lat' and 'lon'. Source: admin-configured provider (Open-Meteo, WeatherAPI.com) with automatic fallback. (JSON body)","operationId":"post_weather","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"city":{"type":"string","description":"City name, e.g. 'Berlin'. Omit if using lat/lon."},"lat":{"type":"string","description":"Latitude (-90..90). Requires 'lon'. Skips geocoding."},"lon":{"type":"string","description":"Longitude (-180..180). Requires 'lat'. Skips geocoding."}}}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/logos":{"get":{"tags":["Data"],"summary":"Company logo URL for a domain. Source: Wikidata (Wikimedia Commons) where known, otherwise the DuckDuckGo favicon.","description":"Cache TTL: 86400s · License tier: Metered","operationId":"get_logos","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"domain","in":"query","required":true,"description":"Company domain, e.g. 'google.com' (without protocol)","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Data"],"summary":"Company logo URL for a domain. Source: Wikidata (Wikimedia Commons) where known, otherwise the DuckDuckGo favicon. (JSON body)","operationId":"post_logos","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","description":"Company domain, e.g. 'google.com' (without protocol)"}},"required":["domain"]}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/vat":{"get":{"tags":["Data"],"summary":"Validate an EU VAT-ID (USt-IdNr). Source: EU VIES.","description":"Cache TTL: 86400s · License tier: Metered","operationId":"get_vat","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"vat","in":"query","required":true,"description":"Full VAT-ID incl. country prefix, e.g. 'DE811569869'","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Data"],"summary":"Validate an EU VAT-ID (USt-IdNr). Source: EU VIES. (JSON body)","operationId":"post_vat","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"vat":{"type":"string","description":"Full VAT-ID incl. country prefix, e.g. 'DE811569869'"}},"required":["vat"]}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/iban":{"get":{"tags":["Data"],"summary":"Validate an IBAN and resolve bank data. Source: openiban.com.","description":"Cache TTL: 86400s · License tier: Metered","operationId":"get_iban","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"iban","in":"query","required":true,"description":"IBAN, e.g. 'DE89370400440532013000'","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Data"],"summary":"Validate an IBAN and resolve bank data. Source: openiban.com. (JSON body)","operationId":"post_iban","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"iban":{"type":"string","description":"IBAN, e.g. 'DE89370400440532013000'"}},"required":["iban"]}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/forex":{"get":{"tags":["Data"],"summary":"Convert between currencies at ECB reference rates. Source: Frankfurter.","description":"Cache TTL: 3600s · License tier: Metered","operationId":"get_forex","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"from","in":"query","required":true,"description":"Source currency, e.g. 'EUR'","schema":{"type":"string"}},{"name":"to","in":"query","required":true,"description":"Target currency, e.g. 'USD'","schema":{"type":"string"}},{"name":"amount","in":"query","required":false,"description":"Amount to convert (default 1)","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Data"],"summary":"Convert between currencies at ECB reference rates. Source: Frankfurter. (JSON body)","operationId":"post_forex","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"from":{"type":"string","description":"Source currency, e.g. 'EUR'"},"to":{"type":"string","description":"Target currency, e.g. 'USD'"},"amount":{"type":"string","description":"Amount to convert (default 1)"}},"required":["from","to"]}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/holidays":{"get":{"tags":["Data"],"summary":"Public holidays for a country and year. Source: date.nager.at.","description":"Cache TTL: 604800s · License tier: Metered","operationId":"get_holidays","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"country","in":"query","required":true,"description":"ISO-3166 alpha-2 code, e.g. 'DE'","schema":{"type":"string"}},{"name":"year","in":"query","required":false,"description":"4-digit year (default: 2026)","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Data"],"summary":"Public holidays for a country and year. Source: date.nager.at. (JSON body)","operationId":"post_holidays","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"country":{"type":"string","description":"ISO-3166 alpha-2 code, e.g. 'DE'"},"year":{"type":"string","description":"4-digit year (default: 2026)"}},"required":["country"]}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/geocode":{"get":{"tags":["Data"],"summary":"Geocode a free-text address to coordinates. Source: OSM Nominatim.","description":"Cache TTL: 86400s · License tier: Metered","operationId":"get_geocode","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"q","in":"query","required":true,"description":"Address or place, e.g. 'Brandenburger Tor Berlin'","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Data"],"summary":"Geocode a free-text address to coordinates. Source: OSM Nominatim. (JSON body)","operationId":"post_geocode","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"q":{"type":"string","description":"Address or place, e.g. 'Brandenburger Tor Berlin'"}},"required":["q"]}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/postal":{"get":{"tags":["Data"],"summary":"Resolve a postal code to its place(s). Source: zippopotam.us.","description":"Cache TTL: 604800s · License tier: Metered","operationId":"get_postal","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"country","in":"query","required":true,"description":"ISO-3166 alpha-2 code, e.g. 'DE'","schema":{"type":"string"}},{"name":"code","in":"query","required":true,"description":"Postal code, e.g. '10115'","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Data"],"summary":"Resolve a postal code to its place(s). Source: zippopotam.us. (JSON body)","operationId":"post_postal","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"country":{"type":"string","description":"ISO-3166 alpha-2 code, e.g. 'DE'"},"code":{"type":"string","description":"Postal code, e.g. '10115'"}},"required":["country","code"]}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/domain":{"get":{"tags":["Data"],"summary":"DNS records, WHOIS dates and SSL expiry for a domain. Sources: DNS, RDAP, TLS.","description":"Cache TTL: 3600s · License tier: Metered","operationId":"get_domain","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"domain","in":"query","required":true,"description":"Domain, e.g. 'google.com'","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Data"],"summary":"DNS records, WHOIS dates and SSL expiry for a domain. Sources: DNS, RDAP, TLS. (JSON body)","operationId":"post_domain","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","description":"Domain, e.g. 'google.com'"}},"required":["domain"]}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/linkpreview":{"get":{"tags":["Data"],"summary":"Title, description and preview image for a URL (OpenGraph). Scrapes the page.","description":"Cache TTL: 86400s · License tier: Metered","operationId":"get_linkpreview","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"url","in":"query","required":true,"description":"Absolute URL, e.g. 'https://anthropic.com'","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Data"],"summary":"Title, description and preview image for a URL (OpenGraph). Scrapes the page. (JSON body)","operationId":"post_linkpreview","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"Absolute URL, e.g. 'https://anthropic.com'"}},"required":["url"]}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/qr":{"get":{"tags":["Function"],"summary":"Generate a QR code (SVG + PNG data-URI) for any text/URL. Local.","description":"Cache TTL: 0s · License tier: Free","operationId":"get_qr","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"text","in":"query","required":true,"description":"Text or URL to encode","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Function"],"summary":"Generate a QR code (SVG + PNG data-URI) for any text/URL. Local. (JSON body)","operationId":"post_qr","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Text or URL to encode"}},"required":["text"]}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/phone":{"get":{"tags":["Function"],"summary":"Validate and normalize a phone number to E.164. Local (libphonenumber).","description":"Cache TTL: 0s · License tier: Free","operationId":"get_phone","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"number","in":"query","required":true,"description":"Phone number, e.g. '030 12345678'","schema":{"type":"string"}},{"name":"country","in":"query","required":false,"description":"Default ISO country (e.g. 'DE') for national-format numbers","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Function"],"summary":"Validate and normalize a phone number to E.164. Local (libphonenumber). (JSON body)","operationId":"post_phone","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"number":{"type":"string","description":"Phone number, e.g. '030 12345678'"},"country":{"type":"string","description":"Default ISO country (e.g. 'DE') for national-format numbers"}},"required":["number"]}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/email":{"get":{"tags":["Function"],"summary":"Validate an email: syntax + MX record + disposable-domain check.","description":"Cache TTL: 3600s · License tier: Free","operationId":"get_email","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"email","in":"query","required":true,"description":"Email address to check","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Function"],"summary":"Validate an email: syntax + MX record + disposable-domain check. (JSON body)","operationId":"post_email","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"Email address to check"}},"required":["email"]}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/token":{"get":{"tags":["Function"],"summary":"Generate a uuid, a random token, or hash text (sha256/sha512). Local.","description":"Cache TTL: 0s · License tier: Free","operationId":"get_token","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"kind","in":"query","required":false,"description":"'uuid' (default) | 'random' | 'hash'","schema":{"type":"string"}},{"name":"length","in":"query","required":false,"description":"Byte length for 'random' (default 32)","schema":{"type":"string"}},{"name":"text","in":"query","required":false,"description":"Input for 'hash'","schema":{"type":"string"}},{"name":"algo","in":"query","required":false,"description":"Hash algo for 'hash': sha256 (default) | sha512","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Function"],"summary":"Generate a uuid, a random token, or hash text (sha256/sha512). Local. (JSON body)","operationId":"post_token","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"type":"string","description":"'uuid' (default) | 'random' | 'hash'"},"length":{"type":"string","description":"Byte length for 'random' (default 32)"},"text":{"type":"string","description":"Input for 'hash'"},"algo":{"type":"string","description":"Hash algo for 'hash': sha256 (default) | sha512"}}}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/convert":{"get":{"tags":["Function"],"summary":"Convert tabular data between CSV and JSON. Local. Use POST with a JSON body.","description":"Cache TTL: 0s · License tier: Free","operationId":"get_convert","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"from","in":"query","required":true,"description":"'csv' or 'json'","schema":{"type":"string"}},{"name":"to","in":"query","required":true,"description":"'csv' or 'json'","schema":{"type":"string"}},{"name":"data","in":"query","required":true,"description":"Payload as a string (CSV text or JSON array string)","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Function"],"summary":"Convert tabular data between CSV and JSON. Local. Use POST with a JSON body. (JSON body)","operationId":"post_convert","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"from":{"type":"string","description":"'csv' or 'json'"},"to":{"type":"string","description":"'csv' or 'json'"},"data":{"type":"string","description":"Payload as a string (CSV text or JSON array string)"}},"required":["from","to","data"]}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/workdays":{"get":{"tags":["Function"],"summary":"Add business days to a date, skipping weekends + public holidays.","description":"Cache TTL: 3600s · License tier: Free","operationId":"get_workdays","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"start","in":"query","required":true,"description":"Start date, ISO 'YYYY-MM-DD'","schema":{"type":"string"}},{"name":"days","in":"query","required":true,"description":"Number of business days to add (can be negative)","schema":{"type":"string"}},{"name":"country","in":"query","required":true,"description":"ISO-3166 alpha-2 for the holiday calendar, e.g. 'DE'","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Function"],"summary":"Add business days to a date, skipping weekends + public holidays. (JSON body)","operationId":"post_workdays","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"start":{"type":"string","description":"Start date, ISO 'YYYY-MM-DD'"},"days":{"type":"string","description":"Number of business days to add (can be negative)"},"country":{"type":"string","description":"ISO-3166 alpha-2 for the holiday calendar, e.g. 'DE'"}},"required":["start","days","country"]}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/company-profile":{"get":{"tags":["Composition"],"summary":"Condensed company profile for a domain: logo + site preview + DNS/WHOIS. Composed.","description":"Cache TTL: 3600s · License tier: Pro","operationId":"get_company_profile","security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"domain","in":"query","required":true,"description":"Company domain, e.g. 'anthropic.com'","schema":{"type":"string"}}],"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Composition"],"summary":"Condensed company profile for a domain: logo + site preview + DNS/WHOIS. Composed. (JSON body)","operationId":"post_company_profile","security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","description":"Company domain, e.g. 'anthropic.com'"}},"required":["domain"]}}}},"responses":{"200":{"description":"Condensed result in the uniform envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"Missing or invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown x-api-key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Key pending — checkout not completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (unknown connector or no result)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Monthly quota or per-second rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Upstream source failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"Envelope":{"type":"object","required":["source","cached","data","meta"],"properties":{"source":{"type":"string","description":"Connector name"},"cached":{"type":"boolean","description":"Served from the durable cache"},"data":{"description":"Condensed, source-specific payload"},"meta":{"type":"object","properties":{"fetchedAt":{"type":"string","format":"date-time"},"ttl":{"type":"integer","description":"Cache lifetime in seconds"}}}}},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"source":{"type":"string","description":"Connector name, when applicable"}}}}}}