Skip to main content

Tools API

The Tools API provides public utility endpoints for common data transformations, such as extracting the creation timestamp from a social post URL or parsing a full name into its first and last name components.

Authentication Required

All API requests require authentication. See API Overview for details.


Social URL Timestamp

Get the UTC creation time of a social media post.

GET /api/tools/social-url-timestamp

Query Parameters

ParameterTypeRequiredDescription
urlstringYesA social post/activity URL.

Response

{
"id": "7349008612637241345",
"timestamp": "2025-07-10T09:36:31.230000Z",
"unix_ms": 1752140191230
}

Response Fields

FieldTypeDescription
idstringThe numeric social post/activity ID extracted from the input
timestampstringUTC creation time decoded from the ID
unix_msintegerCreation time as Unix milliseconds

Rate Limiting

  • 500 requests per minute per API key

Example Request

curl -H "X-API-Key: your_api_key_here" \
"https://production.viacurrent.com/api/tools/social-url-timestamp?url=https://www.social.com/posts/johndoe_activity-7349008612637241345"

Parse Name

Split a full name string into first and last name components. Handles complex names with prefixes, suffixes, and multiple parts.

GET /api/tools/parse-name

Query Parameters

ParameterTypeRequiredDescription
namestringYesA full name to split into first and last name

Response

{
"first_name": "John",
"last_name": "Doe"
}

Response Fields

FieldTypeDescription
first_namestringParsed first name
last_namestringParsed last name

Rate Limiting

  • 500 requests per minute per API key

Example Request

curl -H "X-API-Key: your_api_key_here" \
"https://production.viacurrent.com/api/tools/parse-name?name=John%20Doe"

Error Responses

400 Bad Request

When providing an invalid URL or ID that we can't parse.

{
"detail": "Input not valid: https://www.social.com/in/johndoe"
}

429 Too Many Requests

{
"detail": "Rate limit exceeded"
}