Response Data Structure
Abridged Response Data Structure
Here is an example response from the Autocomplete API when querying forfield = "company" and text = "goog":
JSON
Full Example Response
Full Output Response (click to expand)
Full Output Response (click to expand)
JSON
Response Fields
fields
See the
field input parameter description for the mapping between Autocomplete API fields and Person Schema fields.
data
| Type | Description |
|---|---|
Array (Object) | The list of suggestions that the Autocomplete API has returned.It sorts results in descending order based on data.count. The size input parameter determines the size of the list. |
data.count
data.name
data.meta.*
The Autocomplete API returns some additional metadata fields along with autocomplete suggestion to provide additional context about it. The specific metadata fields that it returns depends on which
field was set in the input parameters.
The tables below describe the metadata fields that the API returns for each input field parameter.
Metadata Fields for Company
The metadata fields that the API returns whenfield = "company" in the input parameters:
Metadata Fields for Country
The metadata fields that the API returns whenfield = "country" in the input parameters:
Metadata Fields for Industry
The metadata fields that the API returns whenfield = "industry" in the input parameters:
Metadata Fields for Location
The metadata fields that the API returns whenfield = "location_name" in the input parameters:
Metadata Fields for Major
The metadata fields that the API returns whenfield = "major" in the input parameters:
Metadata Fields for Region
The metadata fields that the API returns whenfield = "region" in the input parameters:
Metadata Fields for Role
The metadata fields that the API returns whenfield = "role" in the input parameters:
Metadata Fields for Sub_Role
The metadata fields that the API returns whenfield = "sub_role" in the input parameters:
Metadata Fields for Class
The metadata fields that the API returns whenfield = "class" in the input parameters:
Metadata Fields for School
The metadata fields that the API returns whenfield = "school" in the input parameters:
Metadata Fields for Skill
The metadata fields that the API returns whenfield = "skill" in the input parameters:
Metadata Fields for Title
The metadata fields that the API returns whenfield = "title" in the input parameters:
Metadata Fields for Website
The metadata fields that the API returns whenfield = "website" in the input parameters:
