Artica Wiki

DNSBL/RBL APIs

Artica provides a dedicated API that allows administrators and applications to create, update, delete, and query records directly from external systems. This API offers secure, programmatic access to the platform’s record database...

Artica provides a dedicated API that allows administrators and applications to create, update, delete, and query records directly from external systems. 
This API offers secure, programmatic access to the platform’s record database, enabling seamless integration with third-party tools and automation workflows. 
By leveraging this API, you can simplify bulk operations, maintain consistency across environments, and improve the efficiency of record management tasks.

List databases:

GET http://1.2.3.4:9507/databases/list

Return a json with the list of current databases, note that the json index is important for managing records.

{
  "Status": true,
  "Error": "",
  "Databases": {
  "1270002": {
          "Response": "1270002",
          "ipaddr": "127.0.0.2",
          "Description": "{blacklist}",
          "TableName": "rbl_blacklists",
          "Items": 0,
          "Enabled": 1,
          "TTL": 0,
          "Date": "2024-08-27T14:52:44.394846Z"
      },
      "1270003": {
          "Response": "1270003",
          "ipaddr": "127.0.0.3",
          "Description": "Mabase",
          "TableName": "rbl_1270003",
          "Items": 54079,
          "Enabled": 1,
          "TTL": 30,
          "Date": "2024-08-27T14:53:38.584179Z"
      }
  }

Add records inside a database.

GET http://1.2.3.4:9507/database/records/[ID]/1.2.3.4
GET http://1.2.3.4:9507/database/records/[ID]/1.2.3.4,1.2.3.5,1.2.3.6

Where ID is the database index (1270002, 1270003, 1270005 )

Delete records From a database.

GET http://1.2.3.4:9507/database/delete/[ID]/1.2.3.4
GET http://1.2.3.4:9507/database/delete/[ID]/1.2.3.4,1.2.3.5,1.2.3.6

Where ID is the database index (1270002, 1270003, 1270005 )

Compile databases 

Put all databases data into DNSBL/RBL production mode.

GET http://1.2.3.4:9507/database/compile