Buyer Intent API Documentation
...
Buyer Intent Activities
Lists Buyer Intent Activity
1 min
code examples curl location 'https //sourceforge net/rest/p/sfapi/v1/activities?bsl id=integer%3cint32%3e\&date from=string\&date to=string' \\ \ header 'accept application/json' \\ \ header 'content type application/json'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));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 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) responses // success { "data" \[ { "visitor" { "visitor id" "75492bad 74c2 405c 9453 ead3a03b6856", "display name" "john doe", "email" "john doe\@mail com", "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 city" "stony brook", "hq postal code" "11794", "linkedin" "https //www linkedin com/company/7201" } } ] }// bad request { "message" "invalid request parameters" }// unauthorized { "message" "permission denied" }// not found { "message" "activities not found" }// too many requests { "message" "rate limit exceeded" }