Lists Buyer Intent Activity
1 min
GET
https://sourceforge.net/rest/p/sfapi/v1/activities
Query Parameters
- bsl_idinteger<int32>requiredDescription
- segment_idinteger<int32>Description
- date_fromstringrequiredDescription
- date_tostringrequiredDescription
- contact_level_onlybooleanDescription
Responses
200
- object
- dataobject[]
- visitorobject
- visitor_idstringExample
- display_namestringExample
- emailstringExample
- linkedin_urlstringExample
- countrystringExample
- regionstringExample
- citystringExample
- functional_areastringExample
- senioritystringExample
- professional_groupstringExample
- activitiesobject[]
- activity_idinteger<int32>Example
- datestringExample
- urlstringExample
- targetstringExample
- typestringExample
- actionstringExample
- site_visitedstringExample
- countintegerExample
- companyobject
- namestringExample
- domainstringExample
- countrystringExample
- sizestringExample
- industrystringExample
- revenuestringExample
- headquartersstringExample
- hq_country_codestringExample
- hq_statestringExample
- hq_citystringExample
- hq_postal_codestringExample
- linkedinstringExample
400
- object
- messagestringExample
401
- object
- messagestringExample
404
- object
- messagestringExample
429
- object
- messagestringExample
curl
curl --request GET \
--url 'https://sourceforge.net/rest/p/sfapi/v1/activities?bsl_id=integer%3Cint32%3E&date_from=string&date_to=string' \
--header 'accept: application/json'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://sourceforge.net/rest/p/sfapi/v1/activities?bsl_id=integer<int32>&date_from=string&date_to=string", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://sourceforge.net/rest/p/sfapi/v1/activities?bsl_id=integer<int32>&date_from=string&date_to=string")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://sourceforge.net/rest/p/sfapi/v1/activities?bsl_id=integer<int32>&date_from=string&date_to=string"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
200
// Success
{
"data": [
{
"visitor": {
"visitor_id": "75492bad-74c2-405c-9453-ead3a03b6856",
"display_name": "John Doe",
"email": "[email protected]",
"linkedin_url": "linkedin.com/in/johndoe",
"country": "United States",
"region": "North Carolina",
"city": "Charlotte",
"functional_area": "Education",
"seniority": "Management",
"professional_group": "IT Professional / Business Professional"
},
"activities": [
{
"activity_id": 83206197,
"date": "2024-06-17",
"url": "https://sourceforge.net/software/crm/",
"target": "category",
"type": "category_page",
"action": "view",
"site_visited": "SourceForge.net",
"count": 1
}
],
"company": {
"name": "Stony Brook University",
"domain": "stonybrook.edu",
"country": "United States",
"size": "Large (1,000 - 4,999 Employees)",
"industry": "Education > Colleges & Universities",
"revenue": "XXLarge ($1B+)",
"headquarters": "USA, Stony Brook",
"hq_country_code": "US",
"hq_state": "New York",
"hq_city": "Stony Brook",
"hq_postal_code": "11794",
"linkedin": "https://www.linkedin.com/company/7201"
}
}
]
}400
// Bad Request
{
"message": "Invalid request parameters"
}401
// Unauthorized
{
"message": "Permission denied"
}404
// Not Found
{
"message": "Activities not found"
}429
// Too Many Requests
{
"message": "Rate limit exceeded"
}