logo
API GuidesSearch

Search APIs

Search across LinkedIn profiles and posts with powerful filters. Includes post details and post activity feeds.

Search across our enriched LinkedIn profiles by account and contact filters.

Endpoint: POST /people_search Credits: 0.1 per result returned

Request

curl -X POST https://v3-api.texau.com/api/v1/people_search \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "account": {
      "industry": ["software development"],
      "employeeSize": {"start": 50, "end": 500}
    },
    "contact": {
      "jobTitle": ["CTO", "VP Engineering"],
      "location": ["united states"]
    },
    "page": 0,
    "size": 25
  }'

Parameters

FieldTypeRequiredDescription
accountobjectNoCompany-level filters
account.linkedinstring[]NoLinkedIn company URLs
account.domainstring[]NoCompany domains (e.g. google.com)
account.industrystring[]NoIndustry names
account.employeeSizeobjectNo{start, end} employee count range
contactobjectNoPerson-level filters
contact.jobTitlestring[]NoJob titles to match
contact.locationstring[]NoLocations (country, city, or region)
pageintegerYesPage number (zero-based)
sizeintegerYesResults per page (1-100)

Response

{
  "content": [
    {
      "url": "https://www.linkedin.com/in/...",
      "firstname": "Jane",
      "lastname": "Smith",
      "headline": "CTO at Acme Inc",
      "industry": "Software Development",
      "location": {
        "country": "United States",
        "city": "San Francisco",
        "state": "California"
      },
      "positionGroups": [...],
      "educations": [...],
      "skills": [...]
    }
  ],
  "totalElements": 83001,
  "totalPages": 3321,
  "numberOfElements": 25,
  "first": true,
  "last": false,
  "size": 25,
  "number": 0
}

Pagination

Use page and size to paginate through results:

# Page 1 (first 25 results)
{"page": 0, "size": 25}

# Page 2 (next 25 results)
{"page": 1, "size": 25}

# Page 3
{"page": 2, "size": 25}

Credit Calculation

Credits = numberOfElements (results returned) x 0.1

ResultsCredits
101
252.5
505
10010

Post Keyword Search

Search LinkedIn posts by keyword with filters for date, content type, and author.

Endpoint: POST /post_keyword_search Credits: 6 per call

Request

curl -X POST https://v3-api.texau.com/api/v1/post_keyword_search \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "keyword": "artificial intelligence",
    "sort": "DATE_POSTED",
    "datePosted": "PAST_WEEK",
    "page": 0,
    "size": 10
  }'

Parameters

FieldTypeRequiredDescription
keywordstringYesSearch keyword
sortstringNoRELEVANCE (default) or DATE_POSTED
datePostedstringNoPAST_24_HOURS, PAST_WEEK, or PAST_MONTH
contentTypestringNoVIDEO, IMAGE, JOB, LIVE_VIDEO, DOCUMENT, COLLABORATIVE_ARTICLE
fromPersonstring[]NoFilter by person entity URNs
fromCompanystring[]NoFilter by company entity URNs
authorIndustrystring[]NoFilter by author industry
authorKeywordstring[]NoFilter by author job titles
pageintegerNoPage number (zero-based, default 0)
sizeintegerNoResults per page (1-50, default 10)

Response

{
  "content": [
    {
      "urn": "urn:li:activity:7429959579599532032",
      "commentary": "Just published my deep dive into AI trends...",
      "numComments": 16,
      "numReactions": 108,
      "reactionType": {
        "like": 101,
        "interest": 2,
        "appreciation": 3
      },
      "shareUrl": "https://www.linkedin.com/posts/...",
      "time": "2 hours ago",
      "actor": {
        "name": "Jane Smith",
        "url": "https://www.linkedin.com/in/...",
        "followerCount": 15000,
        "profileType": "PERSON"
      },
      "content": {
        "image": null,
        "video": {...},
        "article": null,
        "document": null
      }
    }
  ],
  "totalElements": 483,
  "totalPages": 49,
  "numberOfElements": 10
}

Profile Activities

Fetch recent posts, comments, or reactions for a LinkedIn profile.

Endpoint: POST /profile_activities Credits: 2 per call

Request

curl -X POST https://v3-api.texau.com/api/v1/profile_activities \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "urn": "ACoAACcJ11oB9WoP2-S-clw3Q64H9_WmNjCJbbk",
    "type": "POST",
    "size": 10
  }'

Parameters

FieldTypeRequiredDescription
urnstringYesLinkedIn profile entity URN (from enrichment response entityUrn field)
typestringNoPOST (default), COMMENT, or REACTION
paginationTokenstringNoToken from previous response for next page
sizeintegerNoResults per page (default 10)

Response

{
  "content": [
    {
      "id": "urn:li:activity:7253037834318532608",
      "commentary": "Excited to announce our new product launch...",
      "totalComments": 12,
      "totalReactions": 61,
      "totalShares": 3,
      "reactionType": {
        "like": 53,
        "appreciation": 2,
        "praise": 6
      },
      "url": "https://www.linkedin.com/feed/update/...",
      "time": "2 weeks ago",
      "author": {
        "profileId": "janesmith",
        "firstName": "Jane",
        "lastName": "Smith"
      }
    }
  ],
  "paginationToken": "dXJuOmxpOmFjdGl2aXR5..."
}

Pagination

Use the paginationToken from the response to fetch the next page:

curl -X POST https://v3-api.texau.com/api/v1/profile_activities \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "urn": "ACoAACcJ11oB9WoP2-S-clw3Q64H9_WmNjCJbbk",
    "type": "POST",
    "size": 10,
    "paginationToken": "dXJuOmxpOmFjdGl2aXR5..."
  }'

Search LinkedIn profiles by name, title, company, location, and more. Returns a ranked list of matching profiles with pagination.

Endpoint: GET /profile_search Credits: 0.1 per result returned (billed per page)

Request

curl "https://v3-api.texau.com/api/v1/profile_search?currentCompany=13018048&title=Co-Founder&page=1" \
  -H "x-api-key: YOUR_API_KEY"

Query Parameters

ParameterTypeRequiredDescription
searchstringNoName search with fuzzy matching
firstNamestringNoStrict first name filter
lastNamestringNoStrict last name filter
titlestringNoJob title filter (e.g. Co-Founder)
currentCompanystringNoCompany ID or LinkedIn company URL. Comma-separated for multiple
pastCompanystringNoPast company ID or URL. Comma-separated for multiple
schoolstringNoSchool ID or URL. Comma-separated for multiple
locationstringNoLocation text (LinkedIn autocomplete)
geoIdstringNoLinkedIn Geo ID. Overrides location when both provided
industryIdstringNoLinkedIn industry ID. Comma-separated for multiple
keywordsCompanystringNoCompany name keyword filter
keywordsSchoolstringNoSchool name keyword filter
followerOfstringNoFilter by followers of a profile URL/ID. Comma-separated for multiple
pageintegerNoPage number (1-based, default 1)

At least one query parameter should be provided.

Response

{
  "elements": [
    {
      "publicIdentifier": "janniseller",
      "id": "ACoAAAvXEYIB-lrqOxPPl65MtZ0cDyZTBk_Q3dw",
      "name": "Jannis Eller",
      "position": "Helping growing businesses find the right talent | Co-Founder @ Jomigo",
      "location": {
        "linkedinText": "Berlin"
      },
      "linkedinUrl": "https://www.linkedin.com/in/janniseller",
      "photo": "https://media.licdn.com/dms/image/...",
      "hidden": false
    },
    {
      "publicIdentifier": null,
      "id": "ACr___-spM4BrMlYZsWDBPmx0li6zZw1QccuGW0",
      "name": "LinkedIn Member",
      "position": "Co-founder @LeadsFactory",
      "location": {
        "linkedinText": "France"
      },
      "linkedinUrl": null,
      "photo": "https://media.licdn.com/dms/image/...",
      "hidden": true
    }
  ],
  "pagination": {
    "totalPages": 11,
    "totalElements": 107,
    "pageNumber": 1,
    "previousElements": 0,
    "pageSize": 10,
    "totalResultCount": 107
  },
  "status": 200,
  "error": null,
  "query": {
    "currentCompany": "13018048",
    "title": "Co-Founder"
  }
}

Response Fields

FieldTypeDescription
elementsarrayArray of matching profiles
elements[].publicIdentifierstring | nullLinkedIn public identifier (null if hidden)
elements[].idstringInternal LinkedIn profile ID
elements[].namestringFull name (or "LinkedIn Member" if hidden)
elements[].positionstringCurrent headline / position text
elements[].location.linkedinTextstringLocation as shown on LinkedIn
elements[].linkedinUrlstring | nullFull LinkedIn profile URL (null if hidden)
elements[].photostring | nullProfile photo URL
elements[].hiddenbooleanWhether profile has limited visibility
pagination.totalPagesintegerTotal pages available
pagination.totalElementsintegerTotal matching profiles across all pages
pagination.pageNumberintegerCurrent page (1-based)
pagination.pageSizeintegerResults per page
statusinteger/stringHTTP status from upstream
errorstring | nullError message (null on success)
queryobjectEcho of resolved query parameters

Billing Note

Billed at 0.1 credit per result in the elements array. A page returning 10 results costs 1 credit.


Post Details

Fetch full details of a single LinkedIn post including its content, reactions with reactor profiles, and author metadata.

Endpoint: POST /post_details Credits: 1 per call

Request

curl -X POST https://v3-api.texau.com/api/v1/post_details \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "urn": "urn:li:activity:7253037834318532608"
  }'

Parameters

FieldTypeRequiredDescription
urnstringYesLinkedIn activity URN (e.g. urn:li:activity:7253037834318532608)

Response

{
  "urn": "urn:li:activity:7253037834318532608",
  "threadUrn": "urn:li:activity:7253037834318532608",
  "shareUrn": "urn:li:share:7253037833626546176",
  "commentary": "Excited to announce our Series B...",
  "numComments": 42,
  "numReactions": 318,
  "reactionType": {
    "like": 280,
    "appreciation": 15,
    "praise": 23
  },
  "shareUrl": "https://www.linkedin.com/posts/activity-7253037834318532608-...",
  "actor": {
    "profileId": "janesmith",
    "entityUrn": "ACoAACcJ11oB...",
    "firstName": "Jane",
    "lastName": "Smith",
    "headline": "CEO at Acme Corp",
    "profilePicture": "https://media.licdn.com/dms/image/...",
    "profileType": "PERSON"
  },
  "comments": [],
  "reactions": [
    {
      "reaction": "LIKE",
      "reactor": {
        "profileId": "alexchen",
        "entityUrn": "ACoAAADnqGgB...",
        "firstName": "Alex",
        "lastName": "Chen",
        "headline": "Engineering Manager at Stripe",
        "profilePicture": "https://media.licdn.com/dms/image/...",
        "profileType": "PERSON"
      }
    }
  ]
}

Response Fields

FieldTypeDescription
urnstringActivity URN
threadUrnstringThread URN (same as urn for top-level posts)
shareUrnstringShare URN
commentarystringPost text content
numCommentsintegerTotal comment count
numReactionsintegerTotal reaction count
reactionTypeobjectBreakdown by reaction type (like, appreciation, praise, etc.)
shareUrlstringPublic post URL
actorobjectPost author profile
commentsarrayComments on the post
reactionsarrayReactions with full reactor profiles

Post Activities

Fetch paginated comments and reactions on a specific LinkedIn post. Returns a Spring-style paginated response.

Endpoint: POST /post_activities Credits: 3 per call

Request

curl -X POST https://v3-api.texau.com/api/v1/post_activities \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "urn": "urn:li:activity:7253037834318532608",
    "type": "COMMENT",
    "size": 10
  }'

Parameters

FieldTypeRequiredDescription
urnstringYesLinkedIn activity URN (e.g. urn:li:activity:7253037834318532608)
typestringNoPOST (default), COMMENT, or REACTION
sizeintegerNoResults per page (default 10)
pageintegerNoPage number (zero-based, default 0)

Response

{
  "content": [
    {
      "commentary": "Congrats on the raise! Well deserved.",
      "author": {
        "profileId": "alexchen",
        "firstName": "Alex",
        "lastName": "Chen",
        "headline": "Engineering Manager at Stripe"
      },
      "numReactions": 5,
      "time": "2 days ago"
    }
  ],
  "totalElements": 42,
  "totalPages": 5,
  "numberOfElements": 10,
  "size": 10,
  "number": 0,
  "first": true,
  "last": false
}

Pagination

Use page and size to paginate through results (same pattern as people_search):

# Page 2
curl -X POST https://v3-api.texau.com/api/v1/post_activities \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "urn": "urn:li:activity:7253037834318532608",
    "type": "COMMENT",
    "size": 10,
    "page": 1
  }'