Composition

Compare two style profiles

Compares language and engagement signals across two style profiles.

get/api/v1/styles/compare

Query parameters

username1string required

First username to compare

username2string required

Second username to compare

Response

Style comparison

Example response

{
  "style1": {
    "xUsername": "elonmusk",
    "tweetCount": 50,
    "isOwnAccount": true,
    "fetchedAt": "2025-01-15T12:00:00Z",
    "tweets": [
      {
        "id": "1234567890",
        "text": "Just launched our new feature!"
      }
    ]
  },
  "style2": {
    "xUsername": "elonmusk",
    "tweetCount": 50,
    "isOwnAccount": true,
    "fetchedAt": "2025-01-15T12:00:00Z",
    "tweets": [
      {
        "id": "1234567890",
        "text": "Just launched our new feature!"
      }
    ]
  }
}

Changes

Changed in 3 of the 19 revisions of this API.121202

  • 18302a60cfee122See the full diff
    • the style1 response's property type/format changed from object/ to / for status 200

      response-property-type-changed

    • the style2 response's property type/format changed from object/ to / for status 200

      response-property-type-changed

    • removed the required property style1/fetchedAt from the response with the 200 status

      response-required-property-removed

    • removed the required property style1/isOwnAccount from the response with the 200 status

      response-required-property-removed

    • removed the required property style1/tweetCount from the response with the 200 status

      response-required-property-removed

    • removed the required property style1/tweets from the response with the 200 status

      response-required-property-removed

    • removed the required property style1/xUsername from the response with the 200 status

      response-required-property-removed

    • removed the required property style2/fetchedAt from the response with the 200 status

      response-required-property-removed

    • removed the required property style2/isOwnAccount from the response with the 200 status

      response-required-property-removed

    • removed the required property style2/tweetCount from the response with the 200 status

      response-required-property-removed

    • removed the required property style2/tweets from the response with the 200 status

      response-required-property-removed

    • removed the required property style2/xUsername from the response with the 200 status

      response-required-property-removed

    • added StyleProfileSummary subschema #2 to the style1 response property allOf list for the response status 200

      response-property-all-of-added

    • added StyleProfileSummary subschema #2 to the style2 response property allOf list for the response status 200

      response-property-all-of-added

    • added the new closed enum value to the allOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 429

      response-property-enum-value-added

    • added the new closed enum value to the allOf[Error]/error/oneOf[subschema #2: StructuredError]/code response property for the response status 429

      response-property-enum-value-added

    • added the new closed enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 400

      response-property-enum-value-added

    • added the new closed enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 401

      response-property-enum-value-added

    • added the new closed enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 404

      response-property-enum-value-added

    • added the new closed enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status default

      response-property-enum-value-added

    • added the new closed enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 400

      response-property-enum-value-added

    • added the new closed enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 401

      response-property-enum-value-added

    • added the new closed enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 404

      response-property-enum-value-added

    • added the new closed enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status default

      response-property-enum-value-added

    • added the new expired enum value to the allOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 429

      response-property-enum-value-added

    • added the new expired enum value to the allOf[Error]/error/oneOf[subschema #2: StructuredError]/code response property for the response status 429

      response-property-enum-value-added

    • added the new expired enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 400

      response-property-enum-value-added

    • added the new expired enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 401

      response-property-enum-value-added

    • added the new expired enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 404

      response-property-enum-value-added

    • added the new expired enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status default

      response-property-enum-value-added

    • added the new expired enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 400

      response-property-enum-value-added

    • added the new expired enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 401

      response-property-enum-value-added

    • added the new expired enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 404

      response-property-enum-value-added

    • added the new expired enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status default

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the allOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 429

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the allOf[Error]/error/oneOf[subschema #2: StructuredError]/code response property for the response status 429

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 400

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 401

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 404

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status default

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 400

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 401

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 404

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status default

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the allOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 429

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the allOf[Error]/error/oneOf[subschema #2: StructuredError]/code response property for the response status 429

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 400

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 401

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 404

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status default

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 400

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 401

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 404

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status default

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the allOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 429

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the allOf[Error]/error/oneOf[subschema #2: StructuredError]/code response property for the response status 429

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 400

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 401

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 404

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status default

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 400

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 401

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 404

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status default

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the allOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 429

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the allOf[Error]/error/oneOf[subschema #2: StructuredError]/code response property for the response status 429

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 400

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 401

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 404

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status default

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 400

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 401

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 404

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status default

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the allOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 429

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the allOf[Error]/error/oneOf[subschema #2: StructuredError]/code response property for the response status 429

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 400

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 401

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 404

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status default

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 400

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 401

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 404

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status default

      response-property-enum-value-added

    • added the new missing_url enum value to the allOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 429

      response-property-enum-value-added

    • added the new missing_url enum value to the allOf[Error]/error/oneOf[subschema #2: StructuredError]/code response property for the response status 429

      response-property-enum-value-added

    • added the new missing_url enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 400

      response-property-enum-value-added

    • added the new missing_url enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 401

      response-property-enum-value-added

    • added the new missing_url enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 404

      response-property-enum-value-added

    • added the new missing_url enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status default

      response-property-enum-value-added

    • added the new missing_url enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 400

      response-property-enum-value-added

    • added the new missing_url enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 401

      response-property-enum-value-added

    • added the new missing_url enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 404

      response-property-enum-value-added

    • added the new missing_url enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status default

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the allOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 429

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the allOf[Error]/error/oneOf[subschema #2: StructuredError]/code response property for the response status 429

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 400

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 401

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 404

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status default

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 400

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 401

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 404

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status default

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the allOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 429

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the allOf[Error]/error/oneOf[subschema #2: StructuredError]/code response property for the response status 429

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 400

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 401

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 404

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status default

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 400

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 401

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 404

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status default

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the allOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 429

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the allOf[Error]/error/oneOf[subschema #2: StructuredError]/code response property for the response status 429

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 400

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 401

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 404

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status default

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 400

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 401

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 404

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status default

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the allOf[Error]/error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 429

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the allOf[Error]/error/oneOf[subschema #2: StructuredError]/code response property for the response status 429

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 400

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 401

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status 404

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the error/oneOf[subschema #1: LegacyErrorCode]/ response property for the response status default

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 400

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 401

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status 404

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the error/oneOf[subschema #2: StructuredError]/code response property for the response status default

      response-property-enum-value-added