# JetBrains on Onekey > 2 endpoints for JetBrains (2 stable, 0 beta), 1 to 5 credits each. Category: Developer platforms. 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/jetbrains Reference (Markdown): https://onekey.dev/docs/api/jetbrains.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 2 mapped JetBrains endpoints return each: - `content.createdAt` (ISO 8601 date): 2 - `entity.description` (string): 2 - `entity.id` (string): 2 - `entity.name` (string): 2 - `entity.slug` (string): 2 - `entity.stats.downloads` (integer): 2 - `entity.stats.rating` (number): 1 - `entity.url` (URL): 1 - plus 3 platform-specific fields under `ext.` ## Endpoints ### jetbrains.plugin JetBrains Marketplace plugin by numeric id. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/jetbrains/plugin?id=7495` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Plugin id - Fields returned: `entity.id`, `entity.name`, `entity.slug`, `entity.description`, `entity.stats.downloads`, `content.createdAt`, `entity.url`, `ext.entitySummary`, `ext.developer`, `ext.pricing` - Reference: https://onekey.dev/docs/api/jetbrains/plugin.md ### jetbrains.search Search JetBrains Marketplace plugins. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/jetbrains/search?q=python` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.id`, `entity.name`, `entity.slug`, `entity.description`, `entity.stats.downloads`, `entity.stats.rating`, `content.createdAt`, `ext.developer`, `ext.pricing` - Reference: https://onekey.dev/docs/api/jetbrains/search.md ## Sample request ```bash curl "https://api.onekey.dev/v1/jetbrains/plugin?id=7495" \ -H "x-api-key: YOUR_API_KEY" ```