twexapi-io · Schema

GetFollowingResponse

get following API response

SocialDataXCreditArtificial Intelligence

Properties

Name Type Description
code integer HTTP status code
msg string Response message
data object List of user info, or task handle when count exceeds async threshold
View JSON Schema on GitHub

JSON Schema

twexapi-io-get-following-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/twexapi-io/json-schema/twexapi-io-get-following-response-schema.json",
  "title": "GetFollowingResponse",
  "description": "get following API response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twexapi-io-followers-following-endpoints-api-openapi.yml#/components/schemas/GetFollowingResponse",
  "properties": {
    "code": {
      "type": "integer",
      "title": "Code",
      "description": "HTTP status code",
      "default": 200
    },
    "msg": {
      "type": "string",
      "title": "Msg",
      "description": "Response message",
      "default": "success"
    },
    "data": {
      "anyOf": [
        {
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/UserInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": "array"
        },
        {
          "$ref": "#/$defs/FriendshipTaskData"
        }
      ],
      "title": "Data",
      "description": "List of user info, or task handle when count exceeds async threshold"
    }
  },
  "type": "object",
  "required": [
    "data"
  ],
  "$defs": {
    "FriendshipTaskData": {
      "properties": {
        "task_id": {
          "type": "string",
          "title": "Task Id",
          "description": "Task ID for polling status/next endpoints"
        },
        "reused": {
          "type": "boolean",
          "title": "Reused",
          "description": "True if an in-flight task was reused"
        }
      },
      "type": "object",
      "required": [
        "task_id",
        "reused"
      ],
      "title": "FriendshipTaskData",
      "description": "Async friendship fetch task handle"
    },
    "UserInfo": {
      "properties": {
        "userId": {
          "type": "string",
          "title": "Userid",
          "description": "User ID"
        },
        "isBlueVerified": {
          "type": "boolean",
          "title": "Isblueverified",
          "description": "Blue verification status"
        },
        "createdAt": {
          "type": "string",
          "title": "Createdat",
          "description": "Account creation date"
        },
        "createdAtDatetime": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Createdatdatetime",
          "description": "Account creation datetime in ISO format"
        },
        "defaultProfile": {
          "type": "boolean",
          "title": "Defaultprofile",
          "description": "Default profile flag"
        },
        "defaultProfileImage": {
          "type": "boolean",
          "title": "Defaultprofileimage",
          "description": "Default profile image flag"
        },
        "description": {
          "type": "string",
          "title": "Description",
          "description": "Bio description"
        },
        "location": {
          "type": "string",
          "title": "Location",
          "description": "Location"
        },
        "fastFollowersCount": {
          "type": "integer",
          "title": "Fastfollowerscount",
          "description": "Fast followers count"
        },
        "favouritesCount": {
          "type": "integer",
          "title": "Favouritescount",
          "description": "Likes count"
        },
        "followersCount": {
          "type": "integer",
          "title": "Followerscount",
          "description": "Followers count"
        },
        "followingCount": {
          "type": "integer",
          "title": "Followingcount",
          "description": "Following count"
        },
        "hasCustomTimelines": {
          "type": "boolean",
          "title": "Hascustomtimelines",
          "description": "Has custom timelines flag"
        },
        "isTranslator": {
          "type": "boolean",
          "title": "Istranslator",
          "description": "Is translator flag"
        },
        "listedCount": {
          "type": "integer",
          "title": "Listedcount",
          "description": "Listed count"
        },
        "mediaCount": {
          "type": "integer",
          "title": "Mediacount",
          "description": "Media count"
        },
        "name": {
          "type": "string",
          "title": "Name",
          "description": "Display name"
        },
        "normalFollowersCount": {
          "type": "integer",
          "title": "Normalfollowerscount",
          "description": "Normal followers count"
        },
        "pinnedTweetIdsStr": {
          "anyOf": [
            {
              "items": {},
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Pinnedtweetidsstr",
          "description": "Pinned tweet IDs"
        },
        "possiblySensitive": {
          "type": "boolean",
          "title": "Possiblysensitive",
          "description": "Possibly sensitive flag"
        },
        "profileImageUrlHttps": {
          "type": "string",
          "title": "Profileimageurlhttps",
          "description": "Profile image URL"
        },
        "username": {
          "type": "string",
          "title": "Username",
          "description": "Username"
        },
        "statusesCount": {
          "type": "integer",
          "title": "Statusescount",
          "description": "Tweets count"
        },
        "translatorType": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Translatortype",
          "description": "Translator type"
        },
        "verified": {
          "type": "boolean",
          "title": "Verified",
          "description": "Legacy verification status"
        },
        "verified_type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Verified Type",
          "description": "Verification badge type: blue, business, government, etc."
        },
        "withheldInCountries": {
          "anyOf": [
            {
              "items": {},
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Withheldincountries",
          "description": "Withheld in countries"
        },
        "protected": {
          "type": "boolean",
          "title": "Protected",
          "description": "Protected account flag"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url",
          "description": "User profile URL"
        },
        "descriptionUrls": {
          "anyOf": [
            {
              "items": {},
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Descriptionurls",
          "description": "Description URLs"
        },
        "urls": {
          "anyOf": [
            {
              "items": {},
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Urls",
          "description": "User URLs"
        },
        "pinnedTweetIds": {
          "anyOf": [
            {
              "items": {},
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Pinnedtweetids",
          "description": "Pinned tweet IDs"
        }
      },
      "type": "object",
      "required": [
        "userId",
        "isBlueVerified",
        "createdAt",
        "defaultProfile",
        "defaultProfileImage",
        "description",
        "location",
        "fastFollowersCount",
        "favouritesCount",
        "followersCount",
        "followingCount",
        "hasCustomTimelines",
        "isTranslator",
        "listedCount",
        "mediaCount",
        "name",
        "normalFollowersCount",
        "possiblySensitive",
        "profileImageUrlHttps",
        "username",
        "statusesCount",
        "verified",
        "protected"
      ],
      "title": "UserInfo",
      "description": "User information structure"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/twexapi-io-get-following-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.