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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: TrendSwap System API
description: 'TrendSwap is a viral social AI video studio and motion transfer platform supporting 4 global languages (English, Spanish, Japanese, Chinese) that transforms authorized portraits into trending video clips with 100% identity preservation.
This API provides programmatic access to viral video templates, AI face swap and motion transfer video generation, portrait media management, credit balances, and the official Model Context Protocol (MCP) streamable endpoint for Zapier, Cursor, Claude Desktop, and autonomous agents.'
version: 1.0.0
contact:
name: TrendSwap Developer Support
email: support@trendswap.app
url: https://trendswap.app
license:
name: Proprietary
url: https://trendswap.app/terms-of-service
servers:
- url: https://trendswap.app
description: Production Server
security:
- ApiKeyAuth: []
- XApiKeyAuth: []
tags:
- name: System
description: Operational health check and service telemetry
paths:
/api/health:
get:
tags:
- System
summary: Health & Telemetry Check
description: Public health check endpoint returning service operational status, current production version, and deployment commit timestamp.
operationId: getHealth
security: []
responses:
'200':
description: Service is healthy and operational
content:
application/json:
schema:
$ref: '#/components/schemas/HealthResponse'
components:
schemas:
HealthResponse:
type: object
properties:
code:
type: integer
example: 0
status:
type: string
example: ok
service:
type: string
example: trendswap
version:
type: string
example: v2.220
commit:
type: string
example: 8b651e0
timestamp:
type: string
format: date-time
example: '2026-10-25T12:00:00.000Z'
securitySchemes:
ApiKeyAuth:
type: http
scheme: bearer
bearerFormat: API Key
description: 'TrendSwap API Key in format: Bearer sk_... (obtain from https://trendswap.app/settings/apikeys)'
XApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: TrendSwap API Key passed in the X-API-Key header