COSMOS API

Profile

Retrieve profile from Cosmos with a single API request.

GET/api/data/v1/cosmos/profile
1credit base cost

Request parameters

Up to 1 credit

Cosmos username without a profile URL.

Try in the console

Live requests use your prepaid balance. Cached responses cost zero where supported.

curl --request GET \
  --url 'https://fetchgoblin.com/api/data/v1/cosmos/profile?handle=design' \
  --header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'

Response

Example
{
  "success": true,
  "credits_charged": 1,
  "id": 234172146,
  "username": "design",
  "full_name": "Design",
  "url": "https://www.cosmos.so/design",
  "bio": "where systems learn to speak to people",
  "avatar_url": "https://cdn.cosmos.so/e39a4934-53ae-4536-95a3-18ccd4d052a0",
  "website_url": null,
  "is_premium": true,
  "is_verified": false,
  "follower_count": 744,
  "following_count": 1,
  "public_post_count": 25,
  "instagram_url": null,
  "twitter_url": null,
  "tiktok_url": null
}
Example data from the API specification. Run a request to retrieve current data.

Response shape

This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.

View JSON Schema +
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "credits_charged": {
      "type": "integer"
    },
    "id": {
      "type": "integer"
    },
    "username": {
      "type": "string"
    },
    "full_name": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "bio": {
      "type": "string"
    },
    "avatar_url": {
      "type": "string"
    },
    "website_url": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "is_premium": {
      "type": "boolean"
    },
    "is_verified": {
      "type": "boolean"
    },
    "follower_count": {
      "type": "integer"
    },
    "following_count": {
      "type": "integer"
    },
    "public_post_count": {
      "type": "integer"
    },
    "instagram_url": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "twitter_url": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "tiktok_url": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    }
  }
}