---
updatedAt: 2026-08-26T18:51:08.000Z
agentTools:
  projectIndex: https://docs.livedatatech.com/llms.txt
---

# Search ledger contacts

Queries contacts with field-level filters (fuzzy, exact, or exists match types), sorting, and token-based pagination. Returns JSON; for CSV output with the same filters, use `POST .../contacts/search/download`.

> 🔒 **Required role:** `viewer`

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Live Data Ledger API",
    "version": "2.0",
    "description": "Manages Live Data ledgers for tracking employment changes across contact lists. Supports contact import, search, filtering, and CSV export, with configurable enrichment strategies and tracked field versioning.",
    "contact": {
      "email": "support@livedatatechnologies.com",
      "name": "Live Data Support",
      "url": "https://www.livedatatechnologies.com"
    },
    "license": {
      "name": "Attribution-NoDerivs",
      "url": "https://creativecommons.org/licenses/by-nd/4.0"
    },
    "termsOfService": "https://www.livedatatechnologies.com/terms-of-service"
  },
  "servers": [
    {
      "url": "https://gotlivedata.io/api/ledger/v2",
      "description": "Production"
    }
  ],
  "security": [
    {
      "AccessToken": []
    }
  ],
  "tags": [
    {
      "name": "Ledger Contacts",
      "description": "Search, retrieve, update, and delete individual contacts within a ledger."
    }
  ],
  "paths": {
    "/orgs/{org_id}/ledgers/{ledger_id}/contacts/search": {
      "parameters": [
        {
          "schema": {
            "type": "string",
            "example": "LPONUMMS"
          },
          "name": "ledger_id",
          "in": "path",
          "required": true,
          "description": "The ID of the ledger"
        },
        {
          "schema": {
            "type": "string",
            "example": "o_f12345ef"
          },
          "name": "org_id",
          "in": "path",
          "required": true,
          "description": "The ID of the org"
        }
      ],
      "post": {
        "summary": "Search ledger contacts",
        "operationId": "search-ledger-contacts",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "contacts": {
                      "type": "array",
                      "x-stoplight": {
                        "id": "i1nalxr4wvarn"
                      },
                      "description": "An array of all the matching contacts based on the provided filters and size.",
                      "items": {
                        "$ref": "#/components/schemas/Contact"
                      }
                    },
                    "pagination_token": {
                      "type": "string",
                      "x-stoplight": {
                        "id": "6gy7q74w2mjla"
                      },
                      "description": "If provided, make the exact same call with this added parameter to get the next page of results based on your existing filters and size. \r\n\r\nIf not provided, no additional contacts match the given criteria."
                    },
                    "count": {
                      "type": "integer",
                      "x-stoplight": {
                        "id": "ji156ehcxk1no"
                      }
                    }
                  }
                },
                "examples": {
                  "Example 1": {
                    "value": {
                      "contacts": [
                        {
                          "type": "ledger#contact",
                          "id": "string",
                          "person": {
                            "id": "LDP-1-EXAMPLE"
                          },
                          "name": "string",
                          "linkedin": "string",
                          "country": "string",
                          "location": "string",
                          "created_at": "string",
                          "imported": {
                            "name": "string",
                            "company": "string",
                            "title": "string",
                            "linkedin": "string",
                            "reference_id": "string",
                            "derived_level": "Banking and Wealth Management",
                            "derived_function": "C-Team"
                          },
                          "current_position": {
                            "title": "string",
                            "derived_level": "C-Team",
                            "derived_function": "Banking and Wealth Management",
                            "started_at": "string",
                            "email": "string",
                            "email_status": "valid",
                            "location": "string",
                            "company": {
                              "country": "string",
                              "employee_count": 0,
                              "industry": "string",
                              "linkedin": "string",
                              "location": "string",
                              "name": "string",
                              "domain": "string"
                            }
                          },
                          "is_verified": true,
                          "last_company_changed_at": "string",
                          "last_info_changed_at": "string",
                          "has_multiple_jobs": true,
                          "ledger_import_id": "string"
                        }
                      ],
                      "pagination_token": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request\nCan happen if the request body sent with a pagination_token doesn't match the request body that generated the pagination_token"
          }
        },
        "x-stoplight": {
          "id": "3ndug5rub1xmo"
        },
        "requestBody": {
          "$ref": "#/components/requestBodies/ContactSearchBody"
        },
        "description": "Queries contacts with field-level filters (fuzzy, exact, or exists match types), sorting, and token-based pagination. Returns JSON; for CSV output with the same filters, use `POST .../contacts/search/download`.\n\n> 🔒 **Required role:** `viewer`",
        "tags": [
          "Ledger Contacts"
        ],
        "security": [
          {
            "AccessToken": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Contact": {
        "title": "Contact",
        "type": "object",
        "description": "Represents a contact on a ledger. The `id` of the contact is unique to this person on this ledger and always begins with `LDLC`. ",
        "x-examples": {
          "Example 1": {
            "type": "ledger#contact",
            "id": "string",
            "person": {
              "id": "LDP-1-EXAMPLE"
            },
            "name": "string",
            "linkedin": "string",
            "country": "string",
            "location": "string",
            "created_at": "string",
            "imported": {
              "name": "string",
              "company": "string",
              "title": "string",
              "linkedin": "string",
              "reference_id": "string",
              "derived_level": "Banking and Wealth Management",
              "derived_function": "C-Team"
            },
            "current_position": {
              "title": "string",
              "derived_level": "C-Team",
              "derived_function": "Banking and Wealth Management",
              "started_at": "string",
              "email": "string",
              "email_status": "valid",
              "location": "string",
              "company": {
                "country": "string",
                "employee_count": 0,
                "industry": "string",
                "linkedin": "string",
                "location": "string",
                "name": "string",
                "domain": "string"
              }
            },
            "is_verified": true,
            "last_company_changed_at": "string",
            "last_info_changed_at": "string",
            "has_multiple_jobs": true,
            "ledger_import_id": "string"
          }
        },
        "required": [
          "id",
          "name",
          "linkedin",
          "country",
          "location",
          "created_at",
          "imported",
          "current_position",
          "is_verified",
          "last_company_changed_at",
          "last_info_changed_at",
          "has_multiple_jobs",
          "ledger_import_id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique LD contact ID for this contact."
          },
          "person": {
            "type": "object",
            "x-stoplight": {
              "id": "beu2bjhqr24cc"
            },
            "description": "The common Live Data person record for this person.",
            "nullable": true,
            "properties": {
              "id": {
                "type": "string",
                "nullable": true,
                "x-stoplight": {
                  "id": "rceum3n70gjfj"
                },
                "description": "Live Data's unique identifier for this person."
              }
            }
          },
          "name": {
            "type": "string",
            "description": "The authoritative name of this person as observed by Live Data.",
            "nullable": true
          },
          "linkedin": {
            "type": "string",
            "description": "The LinkedIn address of this person, as identified/confirmed by Live Data.",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "The country this person lives in.",
            "nullable": true
          },
          "location": {
            "type": "string",
            "description": "The generalized location where this person currently lives.",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "description": "Date at which this contact was added to this ledger"
          },
          "imported": {
            "type": "object",
            "description": "Fields that were imported by the user.",
            "required": [
              "name",
              "company",
              "title",
              "linkedin",
              "reference_id",
              "derived_function",
              "derived_level"
            ],
            "properties": {
              "name": {
                "type": "string",
                "nullable": true,
                "x-stoplight": {
                  "id": "s5jgc883tnexi"
                },
                "description": "The name of this person as provided during the import process."
              },
              "company": {
                "type": "string",
                "description": "The name of the company that this contact was imported with.",
                "nullable": true
              },
              "title": {
                "type": "string",
                "description": "The imported title of this person.",
                "nullable": true
              },
              "linkedin": {
                "type": "string",
                "description": "The imported LinkedIn link ",
                "nullable": true
              },
              "reference_id": {
                "type": "string",
                "description": "The customer-provided reference ID for this contact. This can be any value and should be used to identify this record in your system-of-record.",
                "nullable": true
              },
              "derived_function": {
                "description": "The LD-derived level of this person based on their imported title.",
                "enum": [
                  "Banking and Wealth Management",
                  "Business Management",
                  "Consulting",
                  "Education",
                  "Engineering",
                  "Finance and Administration",
                  "Healthcare",
                  "Human Resources",
                  "Information Technology",
                  "Legal",
                  "Marketing and Product",
                  "Operations",
                  "Program and Project Management",
                  "Publishing, Editorial and Reporting",
                  "Quality",
                  "Real Estate",
                  "Risk, Safety, Compliance",
                  "Sales and Support"
                ],
                "nullable": true
              },
              "derived_level": {
                "enum": [
                  "C-Team",
                  "VP",
                  "Director",
                  "Manager",
                  "Staff",
                  "Senior Staff",
                  "Intern",
                  "Consultant"
                ],
                "description": "The LD-derived function of this person based on their imported title.",
                "x-stoplight": {
                  "id": "0euddebmamvvd"
                },
                "nullable": true
              }
            }
          },
          "current_position": {
            "type": "object",
            "description": "The person's current position. If the person is detected to have multiple current positions, this will be the position matching the imported position, if it still exists. If the imported position is not currently an open position, this will be the most recently started position.",
            "required": [
              "title",
              "level",
              "function",
              "started_at",
              "email",
              "email_status",
              "location",
              "company"
            ],
            "properties": {
              "title": {
                "type": "string",
                "description": "The person's current title.",
                "nullable": true
              },
              "level": {
                "enum": [
                  "C-Team",
                  "VP",
                  "Director",
                  "Manager",
                  "Staff",
                  "Senior Staff",
                  "Intern",
                  "Consultant"
                ],
                "description": "The LD-derived level of this person based on their current title.",
                "x-stoplight": {
                  "id": "e4au9dxj9e9l2"
                },
                "nullable": true
              },
              "function": {
                "description": "The LD-derived function of this person based on their current title.",
                "enum": [
                  "Banking and Wealth Management",
                  "Business Management",
                  "Consulting",
                  "Education",
                  "Engineering",
                  "Finance and Administration",
                  "Healthcare",
                  "Human Resources",
                  "Information Technology",
                  "Legal",
                  "Marketing and Product",
                  "Operations",
                  "Program and Project Management",
                  "Publishing, Editorial and Reporting",
                  "Quality",
                  "Real Estate",
                  "Risk, Safety, Compliance",
                  "Sales and Support"
                ],
                "x-stoplight": {
                  "id": "vnafif9x59uf4"
                },
                "nullable": true
              },
              "started_at": {
                "type": "string",
                "description": "The date at which this person started at this job.\r\n\r\nThis field is formatted as standard datetime, but will always be the 1st of the month at 00:00 as we only detect month-level start date granularity.",
                "nullable": true
              },
              "email": {
                "type": "string",
                "description": "The current email address of this person at this job.",
                "nullable": true
              },
              "email_status": {
                "description": "The status of the provided email address:\r\n`valid` - validated email address\r\n`catch-all` - the target domain doesn't provide validation data\r\n`best-guess` - based on modeled data, but unable to validate or invalidate",
                "enum": [
                  "valid",
                  "best-guess",
                  "catch-all"
                ],
                "nullable": true
              },
              "location": {
                "type": "string",
                "x-stoplight": {
                  "id": "tipi54jz4bqbv"
                },
                "description": "The stated location of the current job of the person.",
                "nullable": true
              },
              "company": {
                "type": "object",
                "description": "Firmographic data about the company this person currently works at.",
                "required": [
                  "country",
                  "employee_count",
                  "industry",
                  "linkedin",
                  "location",
                  "name",
                  "domain"
                ],
                "properties": {
                  "country": {
                    "type": "string",
                    "description": "The primary country in which the company or subsidiary operates.",
                    "nullable": true
                  },
                  "employee_count": {
                    "type": "number",
                    "description": "The number of employees at the company or subsidiary.",
                    "nullable": true
                  },
                  "industry": {
                    "type": "string",
                    "description": "The industry the company operates in.",
                    "nullable": true
                  },
                  "linkedin": {
                    "type": "string",
                    "description": "The LinkedIn address of the company.",
                    "nullable": true
                  },
                  "location": {
                    "type": "string",
                    "description": "The headquarters location of the company.",
                    "nullable": true
                  },
                  "name": {
                    "type": "string",
                    "description": "The name of the company.",
                    "nullable": true
                  },
                  "domain": {
                    "type": "string",
                    "description": "The primary domain of the company",
                    "nullable": true
                  }
                }
              }
            }
          },
          "is_verified": {
            "type": "boolean",
            "description": "Indicates whether Live Data has been able to verify/identify this contact on the open web within the last 90 days. Note that a contact may flip from `true` to `false` if we are not able to get a refreshed signal within the last 90 days."
          },
          "last_company_changed_at": {
            "type": "string",
            "description": "Most recent date at which LiveData detected a job change for this contact. See `lastInfoChangedAt` for other contact changes.",
            "nullable": true
          },
          "last_info_changed_at": {
            "type": "string",
            "description": "Most recent date at which Live Data changed any information about this contact. See `lastJobChangedAt` for job changes only.",
            "nullable": true
          },
          "last_custom_change": {
            "$ref": "#/components/schemas/CustomChangeRecord"
          },
          "has_multiple_jobs": {
            "type": "boolean",
            "description": "True if the user has multiple current jobs. False if otherwise.",
            "nullable": true
          },
          "ledger_import_id": {
            "type": "string",
            "description": "The batch ID this person was imported from."
          }
        }
      },
      "ContactSearchFilter": {
        "title": "ContactSearchFilter",
        "x-stoplight": {
          "id": "rg4cob0cn6u0d"
        },
        "type": "object",
        "description": "A filter to apply when searching contacts. You can add a filter for any field of a contact and, depending on the data type of the field, the value to filter on. Strings, dates, numbers, and booleans each have their own specific fields that must be used for filtering. You can also specify whether the match should be an exact match, a \"fuzzy\" match, or an \"exists\" match using the `match_type` field. \n\nFilters are combined using the `AND` operator by default; set the request-level `operator` field to `or` to combine them with `OR` instead.",
        "x-examples": {
          "Example 1": {
            "type": "must",
            "field": "string",
            "match_type": "fuzzy",
            "string_values": [
              "string"
            ],
            "date_from": "2019-08-24T14:15:22Z",
            "date_to": "2019-08-24T14:15:22Z",
            "number_max": 0,
            "number_min": 0,
            "boolean_value": true
          }
        },
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "must",
              "must_not"
            ],
            "description": "Either 'must' or 'must_not'"
          },
          "field": {
            "type": "string",
            "description": "The name of the field to filter on. Any field that is part of the Contact object can be used. Nested fields are specified using dot notation, such as `position.company.name`."
          },
          "match_type": {
            "type": "string",
            "enum": [
              "fuzzy",
              "exact",
              "exists"
            ],
            "default": "fuzzy",
            "description": "Specifies what kind of match to do on the field: \n* `fuzzy` - match the value in a fuzzy manner\n* `exact` - match the value exactly\n* `exists` - only query the existence of the field, not a value match\n\n`fuzzy` and `exact` only apply to string fields, not dates, numbers, or bools"
          },
          "string_values": {
            "type": "array",
            "description": "If the field is a text field, an array of values that must/must-not match. When a list of provided, any value is matched.",
            "items": {
              "type": "string"
            }
          },
          "date_from": {
            "type": "string",
            "description": "If the field is a date field, this is the \"from\" date to use. Flexibly allows dates or partial dates in the format `YYYY-MM-DDTHH:MM:SS TZ`. For example, accepts `2023-01-01` or `2023-07-22T13:15:50Z`.",
            "example": "2023-01-01"
          },
          "date_to": {
            "type": "string",
            "description": "If the field is a date field, this is the \"to\" date to use. Flexibly allows dates or partial dates in the format `YYYY-MM-DDTHH:MM:SS TZ`. For example, accepts `2023-01-01` or `2023-07-22T13:15:50Z`."
          },
          "number_max": {
            "type": "number",
            "description": "If the field is a number field, the max number that must match"
          },
          "number_min": {
            "type": "number",
            "description": "If the field is a number field, the min number that must match"
          },
          "boolean_value": {
            "type": "boolean",
            "x-stoplight": {
              "id": "loh0dfu9ltecj"
            },
            "description": "If the field is a boolean value, either `true` or `false`."
          }
        },
        "required": [
          "type",
          "field"
        ]
      },
      "CustomChangeRecord": {
        "title": "CustomChangeRecord",
        "x-stoplight": {
          "id": "mw9nfgz4azjo5"
        },
        "type": "object",
        "description": "A record describing when and which fields changed for a given Contact",
        "properties": {
          "changed_at": {
            "type": "string",
            "x-stoplight": {
              "id": "dp5kjw23hbhhx"
            }
          },
          "version": {
            "type": "string",
            "x-stoplight": {
              "id": "gog8rhtmvj4ze"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "AccessToken": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "requestBodies": {
      "ContactSearchBody": {
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "filters": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ContactSearchFilter"
                  }
                },
                "operator": {
                  "type": "string",
                  "enum": [
                    "and",
                    "or"
                  ],
                  "default": "and",
                  "description": "How the filters are combined:\n`and` (default) - contacts must match every filter\n`or` - contacts must match at least one filter"
                },
                "return_fields": {
                  "type": "array",
                  "description": "List of the fields to return. If not provided, return all fields.\r\n\r\nField names match the names in the Contact object. Nested object field names are specified using dot-notation, such as `position.company.name`.",
                  "items": {
                    "type": "string"
                  }
                },
                "view": {
                  "type": "string",
                  "enum": [
                    "data",
                    "count"
                  ],
                  "default": "data",
                  "description": "The view of the report that you want returned:\n`data` (default) - returns all of the data that matches the search criteria\n`count` - returns only the count of items that match the search criteria"
                },
                "sort_by": {
                  "type": "string",
                  "description": "Which field to sort on. Use the pattern +name to sort ascending and -name to sort descending."
                },
                "size": {
                  "type": "integer",
                  "description": "Number of records to return. Use to improve performance for large ledgers.\r\n\r\nIgnored in the /download endpoint, which always downloads all records.",
                  "x-stoplight": {
                    "id": "i4p5t5egsz9wj"
                  }
                },
                "pagination_token": {
                  "type": "string",
                  "x-stoplight": {
                    "id": "o2ti7tb37voj1"
                  },
                  "description": "If provided, returns the next page of data based on the `pagination_token`. \r\n\r\nThe `pagination_token` is only valid for a given set of filters/operator/size -- the same `filters`, `operator`, and `size` must be supplied for every call using the `pagination_token` from a response with those filters. If the filters/operator/size don't match the pagination_token, this call will return a `400`."
                }
              }
            },
            "examples": {
              "Get job changes from a given date": {
                "value": {
                  "filters": [
                    {
                      "field": "last_company_changed_at",
                      "type": "must",
                      "date_from": "2023-07-20"
                    }
                  ],
                  "size": 500
                }
              },
              "Get all verified contacts": {
                "value": {
                  "filters": [
                    {
                      "field": "is_verified",
                      "type": "must",
                      "boolean_value": true
                    }
                  ],
                  "size": 500
                }
              },
              "Get contacts that changed jobs or have Engineer in their title": {
                "value": {
                  "operator": "or",
                  "filters": [
                    {
                      "field": "last_company_changed_at",
                      "type": "must",
                      "date_from": "2023-07-20"
                    },
                    {
                      "field": "current_position.title",
                      "type": "must",
                      "match_type": "fuzzy",
                      "string_values": [
                        "Engineer"
                      ]
                    }
                  ],
                  "size": 500
                }
              },
              "Get decision makers that are not in engineering that have started a new job since a given date.": {
                "value": {
                  "filters": [
                    {
                      "field": "last_company_changed_at",
                      "type": "must",
                      "date_from": "2023-07-20"
                    },
                    {
                      "field": "current_position.derived_level",
                      "type": "must",
                      "match_type": "exact",
                      "string_values": [
                        "Director",
                        "VP",
                        "C-Team"
                      ]
                    },
                    {
                      "field": "current_position.title",
                      "type": "must_not",
                      "match_type": "fuzzy",
                      "string_values": [
                        "Engineer"
                      ]
                    }
                  ],
                  "size": 500
                }
              },
              "Get the linkedin value for a given user": {
                "value": {
                  "filters": [
                    {
                      "type": "must",
                      "field": "id",
                      "match_type": "exact",
                      "string_values": [
                        "LDLC-123-1234"
                      ]
                    }
                  ],
                  "return_fields": [
                    "linkedin"
                  ]
                }
              }
            }
          }
        },
        "description": "Body to provide when searching contacts in a ledger. It consists of some basic search criteria such as which fields to return, sorting, and pagination, and a list of filters to apply in the search."
      }
    }
  }
}
```