Get Person Activities Post Reactions
curl --request GET \
--url 'https://api.scrapin.io/v1/enrichment/persons/activities/post/reactions?apikey='import requests
url = "https://api.scrapin.io/v1/enrichment/persons/activities/post/reactions?apikey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.scrapin.io/v1/enrichment/persons/activities/post/reactions?apikey=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.scrapin.io/v1/enrichment/persons/activities/post/reactions?apikey=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.scrapin.io/v1/enrichment/persons/activities/post/reactions?apikey="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.scrapin.io/v1/enrichment/persons/activities/post/reactions?apikey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scrapin.io/v1/enrichment/persons/activities/post/reactions?apikey=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"credits_consumed": 2,
"credits_left": 19934.5,
"rate_limit_left": 19999,
"daily_rate_limit_left": 19999,
"minute_rate_limit_left": 499,
"next_minute_rate_limit_reset": "2024-01-15T10:31:00Z",
"quotas": {
"credits": {
"total": 10000,
"used": 1234,
"left": 8766
},
"daily_rate_limit": {
"limit": 5000,
"used": 150,
"left": 4850,
"next_reset": "2024-10-31T12:46:00.000Z"
},
"minute_rate_limit": {
"limit": 500,
"used": 12,
"left": 488,
"next_reset": "2024-10-31T12:46:00.000Z"
}
},
"metadata": {
"currentPage": 1,
"pageNumber": 10,
"perPage": 50,
"total": 500,
"source": "fresh",
"request_id": "000xcc2a-829a-4200-9704-f6f9cf9a23de"
},
"reactions": [
{
"type": "LIKE",
"author": {
"authorId": "XCoEECH1JL4BEFTG8OBXXuUTIOatyKpCH9AIGE0",
"authorName": "Stefan Smith",
"authorUrl": "https://www.social.com/in/XCoEECH1JL4BEFTG8OBXXuUTIOatyKpCH9AIGE0"
}
},
{
"type": "LIKE",
"author": {
"authorId": "XCoEECH1JL4BEFTG8OBXXuUTIOatyKpCH9AIGE0",
"authorName": "John Doe",
"authorUrl": "https://www.social.com/in/XCoEECH1JL4BEFTG8OBXXuUTIOatyKpCH9AIGE0"
}
}
]
}Post Reactions
This operation allows you to retrieve all reactions on activity post of a person based on their activity post ID. Pagination is limited to 10 pages, with a maximum of 50 items per page, allowing retrieval of up to 500 items. This operation consumes 2 credits.
GET
/
v1
/
enrichment
/
persons
/
activities
/
post
/
reactions
Get Person Activities Post Reactions
curl --request GET \
--url 'https://api.scrapin.io/v1/enrichment/persons/activities/post/reactions?apikey='import requests
url = "https://api.scrapin.io/v1/enrichment/persons/activities/post/reactions?apikey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.scrapin.io/v1/enrichment/persons/activities/post/reactions?apikey=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.scrapin.io/v1/enrichment/persons/activities/post/reactions?apikey=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.scrapin.io/v1/enrichment/persons/activities/post/reactions?apikey="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.scrapin.io/v1/enrichment/persons/activities/post/reactions?apikey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scrapin.io/v1/enrichment/persons/activities/post/reactions?apikey=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"credits_consumed": 2,
"credits_left": 19934.5,
"rate_limit_left": 19999,
"daily_rate_limit_left": 19999,
"minute_rate_limit_left": 499,
"next_minute_rate_limit_reset": "2024-01-15T10:31:00Z",
"quotas": {
"credits": {
"total": 10000,
"used": 1234,
"left": 8766
},
"daily_rate_limit": {
"limit": 5000,
"used": 150,
"left": 4850,
"next_reset": "2024-10-31T12:46:00.000Z"
},
"minute_rate_limit": {
"limit": 500,
"used": 12,
"left": 488,
"next_reset": "2024-10-31T12:46:00.000Z"
}
},
"metadata": {
"currentPage": 1,
"pageNumber": 10,
"perPage": 50,
"total": 500,
"source": "fresh",
"request_id": "000xcc2a-829a-4200-9704-f6f9cf9a23de"
},
"reactions": [
{
"type": "LIKE",
"author": {
"authorId": "XCoEECH1JL4BEFTG8OBXXuUTIOatyKpCH9AIGE0",
"authorName": "Stefan Smith",
"authorUrl": "https://www.social.com/in/XCoEECH1JL4BEFTG8OBXXuUTIOatyKpCH9AIGE0"
}
},
{
"type": "LIKE",
"author": {
"authorId": "XCoEECH1JL4BEFTG8OBXXuUTIOatyKpCH9AIGE0",
"authorName": "John Doe",
"authorUrl": "https://www.social.com/in/XCoEECH1JL4BEFTG8OBXXuUTIOatyKpCH9AIGE0"
}
}
]
}Request Tracking & Reporting
Found incorrect or missing data? Visit your API
Logs to view all requests and report issues
directly from the web interface.
- Go to app.scrapin.io/api-logs
- Find the request you want to report in the logs table
- Click the βReportβ button in the Actions column
- Select the issue type and add a description
The
request_id helps our team investigate and resolve issues quickly. All
enrichment requests are automatically logged for your convenience.Authorizations
Query Parameters
Response
The endpoint returns the activity post reactions from activityId