# OMDb on Onekey > 3 endpoints for OMDb (0 stable, 3 beta), 1 to 5 credits each. Category: Entertainment, art & culture. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/omdb Reference (Markdown): https://onekey.dev/docs/api/omdb.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 3 mapped OMDb endpoints return each: - `content.id` (string): 3 - `content.title` (string): 3 - `content.type` (string): 3 - `content.year` (integer): 3 - `media.thumbnailUrl` (URL): 3 - `author.displayName` (string): 2 - `content.category` (string): 2 - `content.text` (string): 2 - `engagement.votes` (integer): 2 - `entity.stats.rating` (number): 2 ## Endpoints ### omdb.by_id Movie/series by IMDb id (OMDb). - Price: 1 credit per fresh call. Status: beta. Returns: one record. - Request: `GET https://api.onekey.dev/v1/omdb/by_id?id=tt0133093` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): IMDb id - Fields returned: `content.id`, `content.title`, `content.year`, `content.type`, `content.text`, `content.category`, `author.displayName`, `media.thumbnailUrl`, `entity.stats.rating`, `engagement.votes` - Reference: https://onekey.dev/docs/api/omdb/by_id.md ### omdb.by_title Movie/series by title (OMDb). - Price: 1 credit per fresh call. Status: beta. Returns: one record. - Request: `GET https://api.onekey.dev/v1/omdb/by_title?title=The%20Matrix` with header `x-api-key: YOUR_API_KEY` - Parameters: - `title` (string, required): Title - Fields returned: `content.id`, `content.title`, `content.year`, `content.type`, `content.text`, `content.category`, `author.displayName`, `media.thumbnailUrl`, `entity.stats.rating`, `engagement.votes` - Reference: https://onekey.dev/docs/api/omdb/by_title.md ### omdb.search Search titles (OMDb). - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/omdb/search?q=matrix` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `content.id`, `content.title`, `content.year`, `content.type`, `media.thumbnailUrl` - Reference: https://onekey.dev/docs/api/omdb/search.md ## Sample request ```bash curl "https://api.onekey.dev/v1/omdb/by_id?id=tt0133093" \ -H "x-api-key: YOUR_API_KEY" ```