---
title: IATA(International Air Transport Association)
slug: api-marketplace/iatainternational-air-transport-association
createdAt: 2024-02-17T09:29:40.922Z
---

## Introduction

Our API IATA verification is seamless verification of travel agencies. Just input an IATA ID, and obtain essential details such as the trading name and country. Perfect for travel agencies, airlines, and individuals requiring swift and accurate verification for booking, compliance, or general inquiries. Simplify your processes and ensure reliability with our robust API.

***

## API details

### Endpoint

:::CodeblockTabs
Production Environment

```jsx
POST https://api.signzy.app/api/v3/iata/fetch
```
:::

:::CodeblockTabs
UAT/Testing environment

```jsx
POST https://api-preproduction.signzy.app/api/v3/iata/fetch
```
:::

***

### Request headers&#x20;

| Name          | Value            | Required  | Description                                                                                                |
| ------------- | ---------------- | --------- | ---------------------------------------------------------------------------------------------------------- |
| Content-Type  | application/json | Mandatory | The type of content that the request body contains.                                                        |
| Authorization | XXXXXXXXXXXXXXX  | Mandatory | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

***

### Request body parameters

| **Parameter** | **Data type** | **Description**                                                                     | **Required** |
| ------------- | ------------- | ----------------------------------------------------------------------------------- | ------------ |
| iataId        | Strings       | A unique identifier assigned by the International Air Transport Association (IATA). | Mandatory    |

```json
{
 "iataId": "60594882"
}
```

***

### Code samples

:::CodeblockTabs
```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/iata/fetch' \
--header 'Content-Type: application/json' \
--header 'Authorization: <Your access token>' \
--data '{
     "iataId": "60594882"
}'
```

```nodejs
const axios = require('axios');
let data = JSON.stringify({
  "iataId": "60594882"
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api-preproduction.signzy.app/api/v3/iata/fetch',
  headers: { 
    'Content-Type': 'application/json', 
    'Authorization': '<Your access token>'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

```

```python
import requests
import json

url = "https://api-preproduction.signzy.app/api/v3/iata/fetch"

payload = json.dumps({
  "iataId": "60594882"
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': '<Your access token>'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

```

```go
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://api-preproduction.signzy.app/api/v3/iata/fetch"
  method := "POST"

  payload := strings.NewReader(`{
     "iataId": "60594882"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "<Your access token>")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
```
:::

***

### Response body parameters

| **Parameter**      | **Data Type** | **Description**                                            |
| ------------------ | ------------- | ---------------------------------------------------------- |
| result             | object        | Object containing validation result                        |
| result.tradingName | String        | The trading name of the travel and tours company.          |
| result.country     | String        | The country where the travel and tours company is located. |

:::CodeblockTabs
200

```json
{
    "result": {
        "tradingName": "VOYABLE TRAVEL AND TOURS INC.",
        "country": "Canada"
    }
}
```

400

```json
// for wrong iataid
{
    "error": {
        "statusCode": "400",
        "name": "error",
        "message": "Invalid iataId",
        "status": "400"
    }
}
```

401

```json
// when authentication token is wrong
{
    "message": "Invalid authentication credentials"
}

// when authentication token is not given
{
    "message": "No API key found in request"
}
```
:::

***

**Contact Us for Any Assistance**

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at <font color="#2166ae">**help\@signzy.com**</font>. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.

We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!
