---
agentTools:
  projectIndex: https://leadforensics-api.readme.io/llms.txt
---

# GetBusiness

Returns the businesses details for the provided identifier.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "API Settings",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://interact.leadforensics.com/WebApi_v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "ClientID",
        "x-default": "45656"
      },
      "sec1": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization-Token",
        "x-default": "Zax4qjY5w3tmAlqJUajROgW"
      }
    }
  },
  "security": [
    {
      "sec0": [],
      "sec1": []
    }
  ],
  "paths": {
    "/Business/GetBusiness": {
      "get": {
        "summary": "GetBusiness",
        "description": "",
        "operationId": "testinput-1",
        "parameters": [
          {
            "name": "businessid",
            "in": "query",
            "description": "The Lead Forensics unique business identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"BusinessID\": 1101281,\n  \"Name\": \"Bonafide Bones The Butcher\",\n  \"AddressLine1\": \"Landsdown Road\",\n  \"AddressLine2\": \"Willesborough\",\n  \"AddressLine3\": \"\",\n  \"Locality\": \"\",\n  \"Town\": \"Ashford\",\n  \"County\": \"Kent\",\n  \"PostCode\": \"TN7 0PZ\",\n  \"Country\": \"United Kingdom\",\n  \"Telephone\": \"01233 2349 234\",\n  \"Website\": \"http://www.bonafide-bones-the-butcher.co.uk\",\n  \"Industry\": \"Butcher\",\n  \"SICCode\": \"1123\",\n  \"Turnover\": \"12231\",\n  \"RegistrationNumber\": \"1341\",\n  \"EmployeeNumber\": \"1-20\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "BusinessID": {
                      "type": "integer",
                      "example": 1101281,
                      "default": 0
                    },
                    "Name": {
                      "type": "string",
                      "example": "Bonafide Bones The Butcher"
                    },
                    "AddressLine1": {
                      "type": "string",
                      "example": "Landsdown Road"
                    },
                    "AddressLine2": {
                      "type": "string",
                      "example": "Willesborough"
                    },
                    "AddressLine3": {
                      "type": "string",
                      "example": ""
                    },
                    "Locality": {
                      "type": "string",
                      "example": ""
                    },
                    "Town": {
                      "type": "string",
                      "example": "Ashford"
                    },
                    "County": {
                      "type": "string",
                      "example": "Kent"
                    },
                    "PostCode": {
                      "type": "string",
                      "example": "TN7 0PZ"
                    },
                    "Country": {
                      "type": "string",
                      "example": "United Kingdom"
                    },
                    "Telephone": {
                      "type": "string",
                      "example": "01233 2349 234"
                    },
                    "Website": {
                      "type": "string",
                      "example": "http://www.bonafide-bones-the-butcher.co.uk"
                    },
                    "Industry": {
                      "type": "string",
                      "example": "Butcher"
                    },
                    "SICCode": {
                      "type": "string",
                      "example": "1123"
                    },
                    "Turnover": {
                      "type": "string",
                      "example": "12231"
                    },
                    "RegistrationNumber": {
                      "type": "string",
                      "example": "1341"
                    },
                    "EmployeeNumber": {
                      "type": "string",
                      "example": "1-20"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "javascript",
              "code": "$.ajax({ \n  type: 'GET', \n  dataType: 'json', \n  url: 'https://interact.leadforensics.com/WebApi_v2/Business/GetBusiness?businessid=1101281', \n  headers: {\n    'Authorization-Token': 'Zax4qjY5w3tmAlqJUajROgW',\n    'ClientID':'45656'\n  },\n  success: function (data) {  \n    if (data != undefined) {\n      //we have a business record \n    }\n    else {\n      //we do not have a business record \n    }\n  },  \n  error: function (err) {  \n    //ajax error trap  \n  }  \n});"
            }
          ],
          "samples-languages": [
            "javascript"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true,
  "_id": "59970b303013510019572b1e:573f0885edc85919005a87ec"
}
```