# Spytrend creator compare API

Compare two Spytrend creators on Instagram or YouTube via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as handle_a, handle_b, output, and retrieve structured data including selected platform, first resolved handle, first account analysed-post count, second resolved handle, and second account analysed-post count for account comparison, and metric dashboard.

Documentation: https://openany.si/spytrend/spytrend-creator-compare-api/efd07838-395b-4273-8bd8-de537643cc42/
API ID: efd07838-395b-4273-8bd8-de537643cc42
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/spytrend/v1/creator-compare
Page update time: 2026-12-03T02:46:10.590Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:46:09.634Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## Spytrend Creator Compare API

Choose platform and supply handle\_a and handle\_b. Each side retains its own status, data\_through and posts\_analyzed; source quality scores describe a modelled summary rather than a universal creator ranking.

## What You Can Build

- **Account comparison**: Compare the same platform and preserve each side's coverage.
- **Metric dashboard**: Display quality summaries with source reasons and sample counts.

## Returned Data

| Field | Meaning |
| --- | --- |
| `platform` | Selected platform |
| `a.handle` | First resolved handle |
| `a.posts_analyzed` | First account analysed-post count |
| `b.handle` | Second resolved handle |
| `b.posts_analyzed` | Second account analysed-post count |
| `data_through` | Combined source coverage date |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Spytrend creator compare API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "platform": {
          "type": "string",
          "description": "`instagram` or `youtube`.",
          "enum": [
            "instagram",
            "youtube"
          ]
        },
        "handle_a": {
          "type": "string",
          "description": "First username or link."
        },
        "handle_b": {
          "type": "string",
          "description": "Second username or link."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "handle_a",
        "handle_b"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "a": {
      "type": "object",
      "properties": {
        "account": {
          "type": "object",
          "properties": {
            "avatar_url": {
              "type": "string"
            },
            "followers": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "url": {
              "type": "string"
            },
            "verified": {
              "type": "boolean"
            }
          }
        },
        "data_through": {
          "type": "string"
        },
        "engagement": {
          "type": "object",
          "properties": {
            "median_comments": {
              "type": "integer"
            },
            "median_likes": {
              "type": "integer"
            },
            "median_views": {
              "type": "integer"
            },
            "posts_analyzed": {
              "type": "integer"
            },
            "rate": {
              "type": "number"
            },
            "versus_peers": {
              "type": "string"
            }
          }
        },
        "handle": {
          "type": "string"
        },
        "median_views": {
          "type": "integer"
        },
        "posts_analyzed": {
          "type": "integer"
        },
        "quality": {
          "type": "object",
          "properties": {
            "band": {
              "type": "string"
            },
            "reason": {
              "type": "string"
            },
            "score": {
              "type": "integer"
            }
          }
        },
        "status": {
          "type": "string"
        },
        "tier": {
          "type": "string"
        }
      }
    },
    "b": {
      "type": "object",
      "properties": {
        "account": {
          "type": "object",
          "properties": {
            "avatar_url": {
              "type": "string"
            },
            "followers": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "url": {
              "type": "string"
            },
            "verified": {
              "type": "boolean"
            }
          }
        },
        "data_through": {
          "type": "string"
        },
        "engagement": {
          "type": "object",
          "properties": {
            "median_comments": {
              "type": "integer"
            },
            "median_likes": {
              "type": "integer"
            },
            "median_views": {
              "type": "integer"
            },
            "posts_analyzed": {
              "type": "integer"
            },
            "rate": {
              "type": "number"
            },
            "versus_peers": {
              "type": "string"
            }
          }
        },
        "handle": {
          "type": "string"
        },
        "median_views": {
          "type": "integer"
        },
        "posts_analyzed": {
          "type": "integer"
        },
        "quality": {
          "type": "object",
          "properties": {
            "band": {
              "type": "string"
            },
            "reason": {
              "type": "string"
            },
            "score": {
              "type": "integer"
            }
          }
        },
        "status": {
          "type": "string"
        },
        "tier": {
          "type": "string"
        }
      }
    },
    "cached": {
      "type": "boolean"
    },
    "credits_used": {
      "type": "integer"
    },
    "data_through": {
      "type": "string"
    },
    "platform": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/spytrend/v1/creator-compare?handle_a=nike&handle_b=adidas&output=json' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "a": {
    "account": {
      "avatar_url": "",
      "followers": 290933020,
      "name": "Nike",
      "url": "https://www.instagram.com/nike/",
      "verified": true
    },
    "data_through": "2026-11-04",
    "engagement": {
      "median_comments": 928,
      "median_likes": 77021,
      "median_views": 3653470,
      "posts_analyzed": 20,
      "rate": 0.03,
      "versus_peers": "below"
    },
    "handle": "nike",
    "median_views": 3653470,
    "posts_analyzed": 20,
    "quality": {
      "band": "average",
      "reason": "low_engagement",
      "score": 47
    },
    "status": "ok",
    "tier": "1m+"
  },
  "b": {
    "account": {
      "avatar_url": "",
      "followers": 29838596,
      "name": "adidas",
      "url": "https://www.instagram.com/adidas/",
      "verified": true
    },
    "data_through": "2026-11-01",
    "engagement": {
      "median_comments": 313,
      "median_likes": 22249,
      "median_views": 818950,
      "posts_analyzed": 20,
      "rate": 0.08,
      "versus_peers": "typical"
    },
    "handle": "adidas",
    "median_views": 818950,
    "posts_analyzed": 20,
    "quality": {
      "band": "good",
      "reason": "",
      "score": 62
    },
    "status": "ok",
    "tier": "1m+"
  },
  "cached": false,
  "credits_used": 1,
  "data_through": "2026-11-01",
  "platform": "instagram"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which platforms are accepted?
platform supports instagram or youtube; do not infer TikTok support from a different provider's report.

### Which profile forms can I compare?
Use the two usernames or profile links in handle_a and handle_b.

### Can the two sides have different dates?
Yes. Preserve each side's data_through and status rather than labeling both equally current.

### Is quality.score an objective score of a person?
It is the source analytical summary with its band and reason. Keep it with the analysed-post count and metric scope.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/spytrend/spytrend-creator-compare-api/efd07838-395b-4273-8bd8-de537643cc42/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
