openapi: 3.0.3 info: title: AbuseIPDB APIv2 Blacklist Management API description: 'AbuseIPDB APIv2 is a REST API for querying IP reputation, downloading the community blacklist, submitting single and bulk abuse reports, checking CIDR network ranges, and clearing your own past reports. All requests are authenticated with an API key supplied via the `Key` HTTP header and must be made over HTTPS. Responses are returned as JSON unless otherwise noted. ' version: 2.0.0 contact: name: AbuseIPDB Support url: https://www.abuseipdb.com/contact license: name: AbuseIPDB Terms of Service url: https://www.abuseipdb.com/terms-of-service termsOfService: https://www.abuseipdb.com/terms-of-service servers: - url: https://api.abuseipdb.com/api/v2 description: Production security: - ApiKeyAuth: [] tags: - name: Management description: Endpoints for managing your own reports. paths: /clear-address: delete: operationId: clearAddress tags: - Management summary: Clear Your Reports for an IP Address description: Remove all of your own past reports for the given IP address. parameters: - name: ipAddress in: query required: true description: The IPv4 or IPv6 address whose reports (filed by your account) should be cleared. schema: type: string format: ip responses: '200': description: Reports cleared successfully. content: application/json: schema: $ref: '#/components/schemas/ClearAddressResponse' '401': $ref: '#/components/responses/Unauthorized' '422': $ref: '#/components/responses/UnprocessableEntity' '429': $ref: '#/components/responses/RateLimited' components: schemas: ErrorResponse: type: object properties: errors: type: array items: type: object properties: detail: type: string status: type: integer source: type: object properties: parameter: type: string ClearAddressResponse: type: object properties: data: type: object properties: numReportsDeleted: type: integer responses: RateLimited: description: Daily rate limit exceeded. headers: Retry-After: description: Seconds until the next allowed request. schema: type: integer X-RateLimit-Limit: description: Daily limit for this endpoint. schema: type: integer X-RateLimit-Remaining: description: Requests remaining in the current window. schema: type: integer X-RateLimit-Reset: description: Epoch timestamp when the window resets. schema: type: integer content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' UnprocessableEntity: description: Validation error in the request parameters. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' Unauthorized: description: Missing or invalid API key. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' securitySchemes: ApiKeyAuth: type: apiKey in: header name: Key description: AbuseIPDB API key. Issue and rotate at https://www.abuseipdb.com/account/api. externalDocs: description: Full AbuseIPDB APIv2 Documentation url: https://docs.abuseipdb.com/