Starcovery Whoami API
Identity behind the credential on the request.
Identity behind the credential on the request.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/starcovery-com:starcovery-com-whoami-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Starcovery Whoami API
version: '1'
description: 'Starcovery machine surface. Send API-Version: 1; every response carries API-Version: 1, the version served, whatever version the request sent. A JSON request body over 5657944 bytes, or one with no Content-Length or with a Content-Length that is not a declared length the server will read, answers 413 `body_too_large` without being read whole, a JSON request body with a key its operation does not declare answers 400 `invalid_body` naming the key, and an operation that lists no request body or a JSON `null` one takes none: send no body.'
servers:
- description: Production. Unsigned GET /api/search is the live test call. There is no separate sandbox host.
url: https://www.starcovery.com
security: []
tags:
- name: Whoami
description: Identity behind the credential on the request.
paths:
/api/whoami:
get:
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
properties:
billing:
anyOf:
- type: object
properties:
balance:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
cardOnFile:
type: boolean
dailySearches:
type: 'null'
freeGrant:
type: string
enum:
- none
lastPack:
anyOf:
- type: string
enum:
- '25'
- '100'
- '500'
- '2000'
description: Prepaid credit pack, named by its price in US dollars. Larger packs add bonus credits.
- type: 'null'
required:
- balance
- cardOnFile
- dailySearches
- freeGrant
- lastPack
additionalProperties: false
- type: object
properties:
balance:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
cardOnFile:
type: boolean
dailySearches:
type: object
properties:
limit:
type: integer
maximum: 9007199254740991
exclusiveMinimum: 0
remaining:
type: integer
minimum: 0
maximum: 9007199254740991
resetAt:
type: integer
maximum: 9007199254740991
exclusiveMinimum: 0
required:
- limit
- remaining
- resetAt
additionalProperties: false
freeGrant:
type: string
enum:
- identified_daily
lastPack:
anyOf:
- type: string
enum:
- '25'
- '100'
- '500'
- '2000'
description: Prepaid credit pack, named by its price in US dollars. Larger packs add bonus credits.
- type: 'null'
required:
- balance
- cardOnFile
- dailySearches
- freeGrant
- lastPack
additionalProperties: false
credential:
type: object
properties:
id:
anyOf:
- type: string
minLength: 1
- type: 'null'
kind:
type: string
enum:
- api_key
- oauth
- session
name:
anyOf:
- type: string
- type: 'null'
prefix:
anyOf:
- type: string
- type: 'null'
required:
- id
- kind
- name
- prefix
additionalProperties: false
nextSearchCreditSource:
type: string
enum:
- user_free_grant
- organization_balance
organizationId:
type: string
minLength: 1
organizationName:
type: string
searchCreditOrder:
type: array
items:
type: string
enum:
- user_free_grant
- organization_balance
userId:
type: string
minLength: 1
required:
- billing
- credential
- nextSearchCreditSource
- organizationId
- organizationName
- searchCreditOrder
- userId
additionalProperties: false
headers:
ratelimit:
description: The quota name, the remaining uses, and the seconds until the window resets, in the form "name"; r=remaining; t=reset.
required: false
schema:
type: string
ratelimit-limit:
description: The uses the quota allows in one window.
required: false
schema:
type: integer
ratelimit-policy:
description: The quota and its window, in the form limit;w=seconds.
required: false
schema:
type: string
ratelimit-remaining:
description: The uses left in the current window.
required: false
schema:
type: integer
ratelimit-reset:
description: The seconds until the window resets.
required: false
schema:
type: integer
'401':
description: The request carries no credential where the operation needs an identified caller, or carries an API key, access token, or session that does not verify, resolves to no organization, or is a kind the operation does not accept.
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedEncoded'
'413':
description: A JSON request body is larger than the api accepts, and `message` names the limit in bytes. The api answers before it reads the whole body.
content:
application/json:
schema:
$ref: '#/components/schemas/BodyTooLargeEncoded'
headers:
ratelimit:
description: The quota name, the remaining uses, and the seconds until the window resets, in the form "name"; r=remaining; t=reset.
required: false
schema:
type: string
ratelimit-limit:
description: The uses the quota allows in one window.
required: false
schema:
type: integer
ratelimit-policy:
description: The quota and its window, in the form limit;w=seconds.
required: false
schema:
type: string
ratelimit-remaining:
description: The uses left in the current window.
required: false
schema:
type: integer
ratelimit-reset:
description: The seconds until the window resets.
required: false
schema:
type: integer
'429':
headers:
ratelimit:
description: The quota name, the remaining uses, and the seconds until the window resets, in the form "name"; r=remaining; t=reset.
required: false
schema:
type: string
ratelimit-limit:
description: The uses the quota allows in one window.
required: false
schema:
type: integer
ratelimit-policy:
description: The quota and its window, in the form limit;w=seconds.
required: false
schema:
type: string
ratelimit-remaining:
description: The uses left in the current window.
required: false
schema:
type: integer
ratelimit-reset:
description: The seconds until the window resets.
required: false
schema:
type: integer
retry-after:
schema:
type: string
pattern: ^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$
required: true
description: The caller has passed a rate limit, and the `retry-after` header gives the number of seconds to wait before the next attempt.
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitedEncoded'
security:
- bearer: []
- apiKey: []
- session: []
tags:
- Whoami
operationId: whoami.whoami
parameters: []
description: Returns the credential on the request, the user and organization it resolves to, and whether the next search draws on the daily grant or the organization balance.
summary: Read current identity
components:
schemas:
BodyTooLargeEncoded:
type: object
properties:
_tag:
type: string
enum:
- BodyTooLarge
error:
type: string
enum:
- body_too_large
message:
type: string
required:
- error
- message
additionalProperties: false
RateLimitedEncoded:
type: object
properties:
_tag:
type: string
enum:
- RateLimited
error:
type: string
enum:
- rate_limited
required:
- error
additionalProperties: false
UnauthorizedEncoded:
type: object
properties:
_tag:
type: string
enum:
- Unauthorized
error:
type: string
enum:
- unauthorized
required:
- error
additionalProperties: false
securitySchemes:
bearer:
type: http
scheme: Bearer
apiKey:
description: 'API key for a host that cannot set the Authorization header. Read only when Authorization carries no Bearer credential: a request that sends both headers is answered by the Authorization credential alone, so a key here never overrides it.'
type: apiKey
name: x-api-key
in: header
session:
description: Clerk session token cookie of a signed-in browser on the Starcovery site. REST only; MCP rejects a session.
type: apiKey
name: __session
in: cookie