Remove address list entries - Webhooks

POST /address-lists/{id}/entries/remove removes the addresses you send from a list. Addresses that are not in the list are ignored. Webhooks that reference the list stop matching the removed addresses at once.

POST https://public-api.getblock.io/api/v1/address-lists/{id}/entries/remove

It is a POST, not a DELETE, because a large set of addresses does not fit in a query string.

Parameters

Path parameter:

ParameterTypeRequiredDescription
idstringYesThe list's id (al_…).

Body:

ParameterTypeRequiredDescription
addressesarray of stringsYes0x-prefixed 20-byte hex addresses, in any case. Up to 100,000 per request.

Request Example

bashcurl -X POST https://public-api.getblock.io/api/v1/address-lists/al_7hK2mPq9Wx3Z/entries/remove \
  -H "Authorization: Bearer $GETBLOCK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"addresses": ["0x2f1528f344f6410d361654d22a47ef121a60c938"]}'
javascriptconst id = 'al_7hK2mPq9Wx3Z';

const response = await fetch(`https://public-api.getblock.io/api/v1/address-lists/${id}/entries/remove`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.GETBLOCK_API_KEY}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({ addresses: ['0x2f1528f344f6410d361654d22a47ef121a60c938'] })
});
const list = await response.json();

console.log(list.entry_count);
pythonimport os
import requests

list_id = "al_7hK2mPq9Wx3Z"

address_list = requests.post(
    f"https://public-api.getblock.io/api/v1/address-lists/{list_id}/entries/remove",
    headers={"Authorization": f"Bearer {os.environ['GETBLOCK_API_KEY']}"},
    json={"addresses": ["0x2f1528f344f6410d361654d22a47ef121a60c938"]},
).json()

print(address_list["entry_count"])

Response Example

json{
  "id": "al_7hK2mPq9Wx3Z",
  "name": "Treasury wallets",
  "entry_count": 1,
  "version": 4,
  "created_at": "2026-09-25T10:00:00Z",
  "updated_at": "2026-09-25T11:30:00Z"
}

Response Parameters

The answer is the address list object after the change. entry_count shows the new total.

Use Cases

  • Stop watching a wallet you retired
  • Remove addresses of a customer who closed their account

Error Handling

HTTPCodeCause
400empty_body, malformed_bodyNo body, invalid JSON, or an unknown field.
400filter_invalid_hexAn address is not 0x-prefixed 20-byte hex.
404list_not_foundNo such list among yours.
413—The body is larger than about 5 MiB.