> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/integrations/catalog/abstract-api.md).

# Abstract API

Validate email addresses and phone numbers, enrich IP and company data, and retrieve current exchange rates.

### Connectors

Choose the connector that matches your authentication method. The options below use the names shown in StackAI.

| Connector    | Authentication   |
| ------------ | ---------------- |
| Abstract API | API key or token |

#### Abstract API

Connect individual Abstract API product keys for email, phone, IP, company, and exchange-rate lookups.

**Set up in Abstract API**

1. Sign in to your Abstract API dashboard and open the API product that the workflow will call.
2. Copy the API key displayed for that product. Use the key for the same Abstract API product as the selected action.

**Set up in StackAI**

1. Open **Settings → Connections**, add a connection, and select **Abstract API**.
2. Enter the credentials and connection details in the fields below.
3. Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.

**Connection fields**

| StackAI field              | Required                 | What to enter                                                                                                                                               |
| -------------------------- | ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Email Reputation API Key   | Optional / as applicable | Abstract API issues a different key for each product. Add only the keys for the products you use. [Provider instructions](https://app.abstractapi.com/api). |
| Phone Intelligence API Key | Optional / as applicable | Abstract API issues a different key for each product. Add only the keys for the products you use. [Provider instructions](https://app.abstractapi.com/api). |
| IP Intelligence API Key    | Optional / as applicable | Abstract API issues a different key for each product. Add only the keys for the products you use. [Provider instructions](https://app.abstractapi.com/api). |
| Company Enrichment API Key | Optional / as applicable | Abstract API issues a different key for each product. Add only the keys for the products you use. [Provider instructions](https://app.abstractapi.com/api). |
| Exchange Rates API Key     | Optional / as applicable | Abstract API issues a different key for each product. Add only the keys for the products you use. [Provider instructions](https://app.abstractapi.com/api). |

**Provider documentation:** [Setup reference](https://www.abstractapi.com/guides/other/how-to-use-an-api).

#### Verify the connection

Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.

If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.

### Use an action

1. Add the required **Abstract API** action to the workflow.
2. Select a connection when the action requests one.
3. Complete the required fields. Use the reference picker when a value comes from another workflow step.
4. Run the workflow and inspect the action’s output. Check the result before using it in a later step.

### Actions

#### Validate Email Address

Check an email address for deliverability, quality, domain, sender, breach, and risk signals.

**Inputs**

| Field         | Type   | Required | Description                 |
| ------------- | ------ | -------- | --------------------------- |
| Email Address | string | Yes      | The email address to check. |

**Outputs**

| Field                    | Type   | Description                                     |
| ------------------------ | ------ | ----------------------------------------------- |
| Email Reputation Profile | object | The full deliverability and reputation profile. |

#### Validate Phone Number

Check a phone number's validity, format, carrier, location, messaging, registration, breach, and risk signals.

**Inputs**

| Field        | Type   | Required | Description                                                            |
| ------------ | ------ | -------- | ---------------------------------------------------------------------- |
| Phone Number | string | Yes      | The phone number to check, preferably in international E.164 format.   |
| Country Code | string | No       | Two-letter country code used to interpret a local-format phone number. |

**Outputs**

| Field              | Type   | Description                                                                 |
| ------------------ | ------ | --------------------------------------------------------------------------- |
| Phone Intelligence | object | The phone number's validation, format, carrier, location, and risk profile. |

#### Look Up IP Geolocation

Look up an IPv4 or IPv6 address's location, network, company, timezone, currency, and security signals.

**Inputs**

| Field      | Type   | Required | Description                                 |
| ---------- | ------ | -------- | ------------------------------------------- |
| IP Address | string | Yes      | The public IPv4 or IPv6 address to analyze. |

**Outputs**

| Field                   | Type   | Description                                                        |
| ----------------------- | ------ | ------------------------------------------------------------------ |
| IP Intelligence Profile | object | Location, network, company, timezone, currency, and security data. |

#### Enrich Company Data

Get a company profile from its website domain, including identity, location, industry, headcount, revenue, technology, and social data.

**Inputs**

| Field          | Type   | Required | Description                                  |
| -------------- | ------ | -------- | -------------------------------------------- |
| Company Domain | string | Yes      | The company's website domain without a path. |

**Outputs**

| Field           | Type   | Description                        |
| --------------- | ------ | ---------------------------------- |
| Company Profile | object | The full enriched company profile. |

#### Get Exchange Rates

Get the latest exchange rates from one base currency to selected targets or all supported currencies.

**Inputs**

| Field             | Type            | Required | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ----------------- | --------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Base Currency     | select (string) | Yes      | The currency to convert from. Available values: ARS - Argentine Peso, AUD - Australian Dollar, BCH - Bitcoin Cash, BGN - Bulgarian Lev, BNB - Binance Coin, BRL - Brazilian Real, BTC - Bitcoin, CAD - Canadian Dollar, CHF - Swiss Franc, CNY - Chinese Yuan, CYP - Cypriot Pound, CZK - Czech Republic Koruna, DKK - Danish Krone, DOGE - Dogecoin, DZD - Algerian Dinar, EEK - Estonian Kroon, ETH - Ethereum, EUR - Euro, GBP - British Pound Sterling, GRD - Greek Drachma, HKD - Hong Kong Dollar, HRK - Croatian Kuna, HUF - Hungarian Forint, IDR - Indonesian Rupiah, ILS - Israeli New Sheqel, INR - Indian Rupee, ISK - Icelandic Krona, JPY - Japanese Yen, KRW - South Korean Won, LTC - Litecoin, LTL - Lithuanian Litas, LVL - Latvian Lats, MAD - Moroccan Dirham, MTL - Maltese Lira, MXN - Mexican Peso, MYR - Malaysian Ringgit, NOK - Norwegian Krone, NZD - New Zealand Dollar, PHP - Philippine Peso, PLN - Polish Zloty, RON - Romanian Leu, RUB - Russian Ruble, SEK - Swedish Krona, SGD - Singapore Dollar, SIT - Slovenian Tolar, SKK - Slovak Koruna, THB - Thai Baht, TRY - Turkish Lira, TWD - New Taiwan Dollar, USD - United States Dollar, XRP - Ripple, ZAR - South African Rand. Default: USD. |
| Target Currencies | string          | No       | Comma-separated target currency codes; omit to return every supported rate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |

**Outputs**

| Field          | Type   | Description                                            |
| -------------- | ------ | ------------------------------------------------------ |
| Exchange Rates | object | The current rates and their provider update timestamp. |

### Important behavior

Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.

The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stackai.com/integrations/catalog/abstract-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
