Users & Profiles V2
My Location V2
Fetch the authenticated user's location. Requires bearer token.
GET /api/v2/profile/location
Fetch the authenticated user's location. Requires bearer token.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
bearer | string | No | Bearer token — auto-resolves from Token Vault |
proxy | string | No | Custom proxy address |
Authentication
| Header | Value |
|---|---|
X-RapidAPI-Key | Your RapidAPI key |
X-RapidAPI-Host | red-crawler1.p.rapidapi.com |
Example request
cURL
curl -X GET "https://red-crawler1.p.rapidapi.com/api/v2/profile/location?bearer=<bearer>&proxy=<proxy>" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: red-crawler1.p.rapidapi.com"JavaScript
const res = await fetch("https://red-crawler1.p.rapidapi.com/api/v2/profile/location?bearer=<bearer>&proxy=<proxy>", {
method: "GET",
headers: {
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
}
});
const data = await res.json();
console.log(data);Python
import requests
url = "https://red-crawler1.p.rapidapi.com/api/v2/profile/location?bearer=<bearer>&proxy=<proxy>"
headers = {
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
}
resp = requests.get(url, headers=headers)
print(resp.json())Example response
HTTP 200 — captured from a live call to the gateway.
{
"success": true,
"data": {
"success": true,
"location": {
"countryCode": "XX",
"regionCode": "15",
"cityCode": "XXXXX",
"cityUtf8": "XXXXX"
}
},
"error": null,
"meta": {
"vault_expires_at": "2026-04-30T07:47:21.906002+00:00",
"vault_remaining": "22h 47m"
},
"timestamp": "2026-04-29T08:59:44.592253+00:00"
}Validate Username V2
Check whether a Reddit username is available and valid. Returns taken/unavailable/reserved status. Public — no bearer required.
Subreddit Flair Policy V2
Check a subreddit's user-flair policy. Returns only two booleans: isEnabled (subreddit has user flair on) and isSelfAssignable (users can pick their own flair).