curl -X GET 'https://api.weir.ai/platforms/platform_123456789' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'x-source: console'
{
"data": {
"platformId": "platform_123456789",
"name": "My Platform",
"type": "Forum/Community",
"domain": "myplatform.com",
"description": "A community platform",
"teamId": "team_123456789",
"teamName": "Development Team",
"status": "verified",
"verificationMethod": "dns",
"verifiedAt": "2024-01-20T10:00:00Z",
"settings": {
"crawlingEnabled": true,
"detectionFrequency": "daily"
},
"statistics": {
"contentScanned": 15000,
"nilDetections": 45,
"lastScanAt": "2024-01-22T14:00:00Z"
},
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-22T15:30:00Z"
},
"message": "Platform details retrieved successfully",
"status": "success"
}
Console APIs - Platforms
Get Platform Details
Retrieve detailed information about a specific platform
GET
/
platforms
/
:platformId
curl -X GET 'https://api.weir.ai/platforms/platform_123456789' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'x-source: console'
{
"data": {
"platformId": "platform_123456789",
"name": "My Platform",
"type": "Forum/Community",
"domain": "myplatform.com",
"description": "A community platform",
"teamId": "team_123456789",
"teamName": "Development Team",
"status": "verified",
"verificationMethod": "dns",
"verifiedAt": "2024-01-20T10:00:00Z",
"settings": {
"crawlingEnabled": true,
"detectionFrequency": "daily"
},
"statistics": {
"contentScanned": 15000,
"nilDetections": 45,
"lastScanAt": "2024-01-22T14:00:00Z"
},
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-22T15:30:00Z"
},
"message": "Platform details retrieved successfully",
"status": "success"
}
Get Platform Details
Retrieve comprehensive details about a specific platform.curl -X GET 'https://api.weir.ai/platforms/platform_123456789' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'x-source: console'
{
"data": {
"platformId": "platform_123456789",
"name": "My Platform",
"type": "Forum/Community",
"domain": "myplatform.com",
"description": "A community platform",
"teamId": "team_123456789",
"teamName": "Development Team",
"status": "verified",
"verificationMethod": "dns",
"verifiedAt": "2024-01-20T10:00:00Z",
"settings": {
"crawlingEnabled": true,
"detectionFrequency": "daily"
},
"statistics": {
"contentScanned": 15000,
"nilDetections": 45,
"lastScanAt": "2024-01-22T14:00:00Z"
},
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-22T15:30:00Z"
},
"message": "Platform details retrieved successfully",
"status": "success"
}
Path Parameters
string
required
Unique identifier of the platform.
Response Fields
object
required
Platform details object.
Usage Examples
const getPlatformDetails = async (platformId, accessToken) => {
const response = await fetch(`https://api.weir.ai/platforms/${platformId}`, {
headers: {
'Authorization': `Bearer ${accessToken}`,
'x-source': 'console'
}
});
if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);
return await response.json();
};
import requests
def get_platform_details(platform_id, access_token):
response = requests.get(
f'https://api.weir.ai/platforms/{platform_id}',
headers={
'Authorization': f'Bearer {access_token}',
'x-source': 'console'
}
)
response.raise_for_status()
return response.json()
Pro Tip: Use this endpoint to get comprehensive platform information including verification status and statistics.
Was this page helpful?