Fetch Profile Activities (V2)
Retrieves recent activities (posts, comments, reactions) for a LinkedIn profile.
Pricing: 2 credits per call
curl -X POST "https://v3-api.texau.com/api/v1/profile_activities" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"urn": "ACoAACcJ11oB9WoP2-S-clw3Q64H9_WmNjCJbbk",
"type": "POST",
"size": 10
}'
import requests
import json
url = "https://v3-api.texau.com/api/v1/profile_activities"
headers = {
"Content-Type": "application/json",
"x-api-key": "YOUR_API_KEY"
}
data = {
"urn": "ACoAACcJ11oB9WoP2-S-clw3Q64H9_WmNjCJbbk",
"type": "POST",
"size": 10
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
const response = await fetch("https://v3-api.texau.com/api/v1/profile_activities", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": "YOUR_API_KEY"
},
body: JSON.stringify({
"urn": "ACoAACcJ11oB9WoP2-S-clw3Q64H9_WmNjCJbbk",
"type": "POST",
"size": 10
})
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
"bytes"
"encoding/json"
)
func main() {
data := []byte(`{
"urn": "ACoAACcJ11oB9WoP2-S-clw3Q64H9_WmNjCJbbk",
"type": "POST",
"size": 10
}`)
req, err := http.NewRequest("POST", "https://v3-api.texau.com/api/v1/profile_activities", bytes.NewBuffer(data))
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("x-api-key", "YOUR_API_KEY")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://v3-api.texau.com/api/v1/profile_activities')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request['x-api-key'] = 'YOUR_API_KEY'
request.body = '{
"urn": "ACoAACcJ11oB9WoP2-S-clw3Q64H9_WmNjCJbbk",
"type": "POST",
"size": 10
}'
response = http.request(request)
puts response.body
{
"content": [
{}
],
"paginationToken": "example_string"
}
{
"error": "Forbidden",
"message": "You don't have permission to access this resource",
"code": 403
}
{
"error": "Too Many Requests",
"message": "Rate limit exceeded. Please try again later",
"code": 429,
"retryAfter": 3600
}
POST
/profile_activities
POST
API Key (header: x-api-key)
x-api-keystring
RequiredYour TexAu API key. Contact TexAu to obtain one.
Your TexAu API key. Contact TexAu to obtain one.
Content-Typestring
RequiredThe media type of the request body
Options: application/json
urnstring
RequiredLinkedIn profile entity URN
typestring
Type of activities to return
Options: POST, COMMENT, REACTION
paginationTokenstring
Token from previous response for next page
sizeinteger
Number of items per page
useCacheboolean
Use cached data (up to 24h). Defaults to true.
Request Preview
Response
Response will appear here after sending the request
Authentication
header
x-api-keystring
RequiredAPI Key for authentication. Your TexAu API key. Contact TexAu to obtain one.
Body
application/json
urnstring
RequiredLinkedIn profile entity URN
paginationTokenstring
Token from previous response for next page
sizeinteger
Number of items per page
useCacheboolean
Use cached data (up to 24h). Defaults to true.
Responses
contentobject[]
paginationTokenstring
Use this token to fetch the next page
messagestring
errorstring
apistring
limitinteger
currentinteger
Was this page helpful?
Last updated 2 weeks ago
Built with Documentation.AI