openapi: 3.0.3 info: title: Reveal API docs description: > Reveal API allows you to get detailed information about a company based on one of its IPv4 addresses.

Information may contain details like: a company name, address, URL, number of employees and many more.
All of it is presented in a JSON format - a readable, self-explanatory and widely adopted industry standard.

Our automated algorithms and multiple data sources continuously work on improving the quality of our data
by making sure that available information is as detailed and as up-to-date as possible.
At the same time every day, we're increasing the range of covered addresses out of the existing IP address pool.

If, however, you are not able to find a company for a given IP or another error occurs (not likely, but possible),
our API will provide you with a detailed, standardised error message and an appropriate HTTP return status code.

Please bear in mind that at the moment IPv6 addresses are not supported yet but works are ongoing to add those in the future. version: '1.0' servers: - url: https://reveal.api.albacross.com description: Production data - url: https://reveal.api.albakaos.com description: Staging data externalDocs: url: /public/postman_collection.json description: Download preconfigured Postman collection paths: "/company/{ip_v4}": get: summary: Retrieve company based on its IPv4 address description: Retrieve company based on its IPv4 address parameters: - name: ip_v4 in: path description: Company IPv4 address required: true schema: type: string format: ipv4 responses: 200: description: Company details content: application/json: schema: $ref: "swagger-ui/common_components.yml#/components/schemas/Company" 204: description: Company not found for given IP 400: description: Wrong/unsupported IP format content: application/json: schema: oneOf: - $ref: "#/components/schemas/ErrorMessageWrongFormat" - $ref: "#/components/schemas/ErrorMessageUnsupportedIPv6" 401: description: Invalid API Key content: application/json: schema: $ref: "swagger-ui/common_components.yml#/components/schemas/ErrorMessage" 429: description: "'Requests quota'/'Identfied quota' has been exceeded - please contact Albacross" content: application/json: schema: $ref: "swagger-ui/common_components.yml#/components/schemas/ErrorMessage" 500: description: Unknown error has appeared - please contact Albacross content: application/json: schema: $ref: "swagger-ui/common_components.yml#/components/schemas/ErrorMessage" components: securitySchemes: ApiKeyAuth: type: apiKey in: header name: Authorization schemas: Company: $ref: "swagger-ui/common_components.yml#/components/schemas/Company" ErrorMessageWrongFormat: description: "Wrong IP format - only decimal IPv4 format is supported. Ex: 23.45.67.89" type: object properties: message: type: string required: - message ErrorMessageUnsupportedIPv6: description: "Unsupported IPv6 format - only decimal IPv4 format is supported. Ex: 23.45.67.89" type: object properties: message: type: string required: - message ErrorMessage: $ref: "swagger-ui/common_components.yml#/components/schemas/ErrorMessage" security: - ApiKeyAuth: []