Fetch profile IDs by handle
curl --request POST \
--url https://external-api.streamforge.com/platforms/{platform}/profiles/lookup \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"handles": [
"streamer123",
"@gamer456",
"creator789"
]
}
'import requests
url = "https://external-api.streamforge.com/platforms/{platform}/profiles/lookup"
payload = { "handles": ["streamer123", "@gamer456", "creator789"] }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({handles: ['streamer123', '@gamer456', 'creator789']})
};
fetch('https://external-api.streamforge.com/platforms/{platform}/profiles/lookup', 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://external-api.streamforge.com/platforms/{platform}/profiles/lookup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'handles' => [
'streamer123',
'@gamer456',
'creator789'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://external-api.streamforge.com/platforms/{platform}/profiles/lookup"
payload := strings.NewReader("{\n \"handles\": [\n \"streamer123\",\n \"@gamer456\",\n \"creator789\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://external-api.streamforge.com/platforms/{platform}/profiles/lookup")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"handles\": [\n \"streamer123\",\n \"@gamer456\",\n \"creator789\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://external-api.streamforge.com/platforms/{platform}/profiles/lookup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"handles\": [\n \"streamer123\",\n \"@gamer456\",\n \"creator789\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"payload": [
{
"handle": "streamer123",
"id": "484563826"
},
{
"handle": "gamer456",
"id": "775305965"
}
],
"meta": {
"missing_handles": [
"creator789"
],
"received_at": "2025-01-27T12:00:00.000Z"
}
}{
"error": {
"status": 400,
"message": "Invalid platform or missing required parameter"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}{
"error": {
"status": 401,
"message": "API key is required"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}{
"error": {
"status": 403,
"message": "Invalid API key"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}{
"error": {
"status": 429,
"message": "Rate limit exceeded"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}Profiles
Fetch profile IDs by handle
Fetch profile IDs for multiple platform handles in a single request.
This lightweight endpoint returns only the handle-to-ID mapping, not full profile data. Use the returned IDs with other endpoints to fetch profile details, content, and analysis.
This endpoint costs a flat rate of 1 credit, regardless of how many handles are requested (up to 100).
POST
/
platforms
/
{platform}
/
profiles
/
lookup
Fetch profile IDs by handle
curl --request POST \
--url https://external-api.streamforge.com/platforms/{platform}/profiles/lookup \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"handles": [
"streamer123",
"@gamer456",
"creator789"
]
}
'import requests
url = "https://external-api.streamforge.com/platforms/{platform}/profiles/lookup"
payload = { "handles": ["streamer123", "@gamer456", "creator789"] }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({handles: ['streamer123', '@gamer456', 'creator789']})
};
fetch('https://external-api.streamforge.com/platforms/{platform}/profiles/lookup', 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://external-api.streamforge.com/platforms/{platform}/profiles/lookup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'handles' => [
'streamer123',
'@gamer456',
'creator789'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://external-api.streamforge.com/platforms/{platform}/profiles/lookup"
payload := strings.NewReader("{\n \"handles\": [\n \"streamer123\",\n \"@gamer456\",\n \"creator789\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://external-api.streamforge.com/platforms/{platform}/profiles/lookup")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"handles\": [\n \"streamer123\",\n \"@gamer456\",\n \"creator789\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://external-api.streamforge.com/platforms/{platform}/profiles/lookup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"handles\": [\n \"streamer123\",\n \"@gamer456\",\n \"creator789\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"payload": [
{
"handle": "streamer123",
"id": "484563826"
},
{
"handle": "gamer456",
"id": "775305965"
}
],
"meta": {
"missing_handles": [
"creator789"
],
"received_at": "2025-01-27T12:00:00.000Z"
}
}{
"error": {
"status": 400,
"message": "Invalid platform or missing required parameter"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}{
"error": {
"status": 401,
"message": "API key is required"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}{
"error": {
"status": 403,
"message": "Invalid API key"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}{
"error": {
"status": 429,
"message": "Rate limit exceeded"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}Authorizations
Your API key. Include it in the x-api-key header for all requests.
Path Parameters
Platform identifier
Available options:
twitch, youtube, instagram, tiktok Example:
"twitch"
Body
application/json
Array of platform handles to look up
Required array length:
1 - 100 elementsExample:
["streamer123", "@gamer456", "creator789"]
⌘I

