# Ocean.io

> Find companies and people, enrich records and track API credits.

App · 16 actions. Web page: https://docs.lodol.com/docs/integrations/ocean-io

## Actions

### Autocomplete companies

Suggest matching companies.

**Inputs**

- Search (`search`, text, required): Search.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {}
}
```

### Autocomplete job titles

Suggest matching job titles.

**Inputs**

- Search (`search`, text, required): Search.
- Limit (`limit`, number): Limit. From 1 to 15.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {}
}
```

### Autocomplete keywords

Suggest matching keywords.

**Inputs**

- Search (`search`, text, required): Search.
- Limit (`limit`, number): Limit. From 1 to 15.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {}
}
```

### Autocomplete locations

Suggest matching locations.

**Inputs**

- Search (`search`, text, required): Search.
- Limit (`limit`, number): Limit. From 1 to 15.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {}
}
```

### Autocomplete skills

Suggest matching skills.

**Inputs**

- Search (`search`, text, required): Search.
- Limit (`limit`, number): Limit. From 1 to 15.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {}
}
```

### Enrich company

Enrich one company using its website domain.

**Inputs**

- Domain (`domain`, text, required): Domain.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {}
}
```

### Enrich person

Find data about a person by their LinkedIn profile.

**Inputs**

- Linkedin URL (`linkedin_url`, text, required): Linkedin URL.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {}
}
```

### Get credit balance

Get your remaining Ocean.io credits.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {}
}
```

### Get credit usage

Get API credit usage grouped by time period.

**Inputs**

- Start date (`start_date`, date and time, required): Start date.
- End date (`end_date`, date and time): End date.
- Granularity (`granularity`, text, required): Granularity. One of: `hour`, `day`, `week`, `month`.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {
    "usage": [
      {
        "credits": 1,
        "endpoint": "example",
        "periodStart": "example"
      }
    ]
  }
}
```

### Get data fields

List the fields Ocean.io can return for companies and people.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {}
}
```

### List exclusion lists

List the exclusion lists in your Ocean.io account.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {}
}
```

### Lookup companies

Look up companies by their website domains.

**Inputs**

- Domains (`domains`, list, required): Domains.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {}
}
```

### Preview companies

Preview companies matching filters or lookalike domains.

**Inputs**

- Company filters (`company_filters`, object): Company filters.
- Size (`size`, number): Size. From 1 to 100.
- Search after (`search_after`, text): Search after.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {}
}
```

### Preview people

Preview people matching company and role filters.

**Inputs**

- Company filters (`company_filters`, object): Company filters.
- People filters (`people_filters`, object): People filters.
- Size (`size`, number): Size. From 1 to 100.
- Search after (`search_after`, text): Search after.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {}
}
```

### Search companies

Search for companies matching filters or lookalike domains.

**Inputs**

- Company filters (`company_filters`, object): Company filters.
- Size (`size`, number): Size. From 1 to 100.
- Search after (`search_after`, text): Search after.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {}
}
```

### Search people

Search for people matching company and role filters.

**Inputs**

- Company filters (`company_filters`, object): Company filters.
- People filters (`people_filters`, object): People filters.
- Size (`size`, number): Size. From 1 to 100.
- Search after (`search_after`, text): Search after.

**Outputs**

- `data` (object): The response from Ocean.io.

**Example output**

```json
{
  "data": {}
}
```
