# BinaryEdge

> Read recent and historical internet-exposure records from BinaryEdge.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/binaryedge

## Actions

### Get host history

Read up to six months of observed host events; requires paid access.

**Inputs**

- IP (`ip`, text, required): IPv4 address to look up; this reads existing intelligence.

**Outputs**

- `data` (object): The response from BinaryEdge.

**Example output**

```json
{
  "data": {
    "events": [
      {
        "origin": {
          "ts": 1704067200000,
          "type": "port"
        },
        "target": {
          "ip": "8.8.8.8",
          "port": 53,
          "protocol": "udp"
        }
      }
    ],
    "query": "8.8.8.8",
    "total": 1
  }
}
```

### Get subscription usage

Read the current subscription and remaining request credits.

**Inputs**: None.

**Outputs**

- `data` (object): The response from BinaryEdge.

**Example output**

```json
{
  "data": {
    "end_date": "2027-01-01",
    "requests_left": 100,
    "requests_plan": 5000,
    "subscription": {
      "name": "Starter"
    }
  }
}
```

### Look up host

Read recent observed ports and services for one IPv4 address.

**Inputs**

- IP (`ip`, text, required): IPv4 address to look up; this reads existing intelligence.

**Outputs**

- `data` (object): The response from BinaryEdge.

**Example output**

```json
{
  "data": {
    "events": [
      {
        "port": 53,
        "results": [
          {
            "target": {
              "ip": "8.8.8.8",
              "port": 53,
              "protocol": "udp"
            }
          }
        ]
      }
    ],
    "query": "8.8.8.8",
    "total": 1
  }
}
```
