# Search Name Request

Search Name Request allows you to use the public web API to gather information on the specified character.&#x20;

Example URL:\
\
<https://api.faxcad.com/searchname/?id=demoCAD&q=Bob%20bobson>

## Get Character Name

<mark style="color:blue;">`GET`</mark> `http://api.faxcad.com/searchname/:id:q`

This will fetch character information.

#### Path Parameters

| Name | Type   | Description    |
| ---- | ------ | -------------- |
| id   | string | Order ID       |
| q    | string | Name to search |

{% tabs %}
{% tab title="200 Successful character request." %}

```
{
   "status":"Found",
   "details":"Found character",
   "ownerId":"282762192544333827",
   "charInfo":{
      "firstName":"Bob",
      "lastName":"Bobson",
      "DoB":"01/12/1995",
      "address":"123 Somewhere Road, Somewhere City",
      "gender":"Male",
      "race":"White",
      "hairColor":"Black",
      "dead":"1"
   },
   "image":"http://demoCAD.faxcad.com/_assets/civimages/firu7ny8ztoeghiskz67o5w583j29m.png",
   "license":{
      "drivers":"Valid",
      "commercial":"None",
      "firearms":"Suspended",
      "boat":"None",
      "aviation":"None",
      "hunting":"None",
      "fishing":"None"
   }
}
```

{% endtab %}

{% tab title="302 The character being searched could not be found." %}

```
{
    "status": "Error",
    "details": "Character name was not found."
}
```

{% endtab %}

{% tab title="404 The order ID or database ID was invalid or not found." %}

```
{
    "status": "Error",
    "details": "Order ID not found (id)."
}
```

{% endtab %}
{% endtabs %}
