Scholar Sidekick Styles API

Discover and browse available CSL citation styles.

GitHub OpenAPI

Operations 1

GET /api/csl/styles Discover CSL citation styles (searchable, paginated) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/scholar-sidekick-com:scholar-sidekick-com-styles-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

scholar-sidekick-com-styles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Scholar Sidekick Styles API
  version: 1.2.1
  description: 'Resolve scholarly identifiers (DOI, PMID, PMCID, ISBN, ISSN/eISSN, arXiv, ADS bibcode, scholarly URLs)

    into normalized metadata and formatted citations. Supports export to RIS and BibTeX.


    ## Versioning & deprecation


    The API uses **header-based versioning**. Clients may pin a version with the

    optional `Api-Version` request header (see the `ApiVersion` parameter). The

    API currently serves a single version, and the active version tag is

    returned on **every** response in the `X-Scholar-Transform-Version` header

    (the verifier pipeline additionally returns `X-Scholar-Verify-Version`).


    **Deprecation policy:** when a future breaking version ships, the prior

    version is announced on its responses via the standard `Deprecation` header

    and a `Sunset` header (RFC 8594) giving the retirement date, with a minimum

    180-day overlap before removal. Deprecations are also recorded publicly at

    https://scholar-sidekick.com/changelog. This policy is also published in

    machine-readable form in the `x-api-lifecycle` extension on this document.


    ## Errors


    Errors return the typed `ErrorResponse` envelope (`{ ok: false, error, code }`)

    as `application/json` by default. The stable `code` is also mirrored in the

    `X-Error-Code` response header. Clients that send

    `Accept: application/problem+json` instead receive the same error as an

    RFC 9457 `ProblemDetails` document (`type`/`title`/`status`/`detail`/`code`).


    ## Idempotency


    The mutating POST routes (`/api/format`, `/api/format-items`, `/api/export`,

    `/api/verify`) accept an optional `Idempotency-Key` request header (see the

    `IdempotencyKey` parameter). When the server has idempotency enabled, a

    repeated request with the same key and body replays the original response

    verbatim with `Idempotent-Replayed: true`; the same key with a different body

    returns `422`. These operations are deterministic and side-effect-free, so the

    key exists purely for retry safety.


    ## Long-running work


    There is no async-job/polling pattern: the synchronous endpoints complete in a

    single request. For incremental/large batches use `POST /api/format/stream`,

    which streams newline-delimited JSON (NDJSON) events as records resolve.


    ## Pagination


    `GET /api/csl/styles` is offset-paginated (`limit`/`offset`). Each page returns

    an explicit `nextOffset` (or `null` on the last page) and, when more results

    exist, an RFC 8288 `Link: ; rel="next"` response header.'
  termsOfService: https://scholar-sidekick.com/legal/api-terms
  contact:
    name: Scholar Sidekick
    email: support@scholar-sidekick.com
    url: https://scholar-sidekick.com
  x-logo:
    url: https://scholar-sidekick.com/icon-512.png
    altText: Scholar Sidekick
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  x-api-lifecycle:
    versioning: header
    versionHeader: Api-Version
    activeVersionHeader: X-Scholar-Transform-Version
    activeVersion: '2026-11-10'
    deprecation:
      signalHeaders:
      - Deprecation
      - Sunset
      sunsetStandard: RFC 8594
      minOverlapDays: 180
    changelog: https://scholar-sidekick.com/changelog
servers:
- url: https://scholar-sidekick.com
  description: Production
security:
- {}
- BearerAuth: []
- RapidApiKey: []
tags:
- name: Styles
  description: Discover and browse available CSL citation styles.
paths:
  /api/csl/styles:
    get:
      tags:
      - Styles
      summary: Discover CSL citation styles (searchable, paginated)
      description: 'Search and browse available CSL styles — hand-tuned builtins, common

        aliases, and (when `ENABLE_CSL_IMPORTS` is on) the remote CSL registry.

        Results are **offset-paginated** via `limit` and `offset`; the response

        carries `total` (the full match count) alongside the applied

        `limit`/`offset` window.'
      operationId: cslStylesList
      parameters:
      - in: header
        name: Api-Version
        required: false
        description: 'Optional API version selector (header-based versioning). The API

          currently serves a single version; the active version is returned on

          every response in `X-Scholar-Transform-Version`. Reserved for forward

          compatibility — when a future breaking version ships, clients pin to a

          version with this header and retired versions follow the deprecation

          policy described in the API overview.

          '
        schema:
          type: string
          example: '2026-11-10'
      - in: query
        name: q
        required: false
        description: Case-insensitive substring match against style id, title, and short title.
        schema:
          type: string
        example: chicago
      - in: query
        name: category
        required: false
        description: Filter to styles whose categories include this token.
        schema:
          type: string
        example: medicine
      - in: query
        name: bundled
        required: false
        description: When `true`, return only hand-tuned builtin styles (no aliases or remote).
        schema:
          type: boolean
      - in: query
        name: limit
        required: false
        description: Page size. Defaults to 50; clamped to 20000. Use `0` to return all matches.
        schema:
          type: integer
          minimum: 0
          maximum: 20000
          default: 50
      - in: query
        name: offset
        required: false
        description: Zero-based start offset into the matched set.
        schema:
          type: integer
          minimum: 0
          default: 0
      - in: query
        name: remote
        required: false
        description: Set to `0` to exclude remote-registry styles even when imports are enabled.
        schema:
          type: string
          enum:
          - '0'
          - '1'
      - in: query
        name: categories
        required: false
        description: Set to `1` to include available category facets in the response.
        schema:
          type: string
          enum:
          - '1'
      responses:
        '200':
          description: Paginated list of matching CSL styles.
          headers:
            X-Request-Id:
              description: Unique request correlation ID.
              schema:
                type: string
            X-Scholar-Transform-Version:
              description: 'Public, monotonically-versioned tag for normalisation + formatting

                logic — returned on every response. Serves as the active API version

                under the header-based versioning scheme.

                '
              schema:
                type: string
                example: '2026-11-10'
            Cache-Control:
              description: Public cache hint for style discovery.
              schema:
                type: string
                example: public, max-age=3600
            Link:
              description: 'RFC 8288 link header. Present only when more results exist; carries

                the next-page URL with `rel="next"`.

                '
              schema:
                type: string
                example: </api/csl/styles?q=chicago&offset=50&limit=50>; rel="next"
          content:
            application/json:
              schema:
                type: object
                description: 'Paginated CSL style discovery result. Pagination is offset-based:

                  `total` is the full match count; `limit`/`offset` echo the applied

                  window (`limit: 0` returns all matches).

                  '
                required:
                - ok
                - styles
                - total
                - limit
                - offset
                properties:
                  ok:
                    type: boolean
                    enum:
                    - true
                  styles:
                    type: array
                    items:
                      type: object
                      description: A single CSL style entry returned by style discovery.
                      required:
                      - id
                      - title
                      - bundled
                      properties:
                        id:
                          type: string
                          example: vancouver
                        title:
                          type: string
                          example: Vancouver
                        titleShort:
                          type: string
                          example: APA
                        categories:
                          type: array
                          items:
                            type: string
                          example:
                          - medicine
                          - numeric
                        bundled:
                          type: boolean
                          description: True for hand-tuned builtin styles shipped with the API.
                        engineSupported:
                          type: boolean
                          description: True when the CSL engine can render the style directly.
                        aliasFor:
                          type: string
                          description: Present on alias entries — the style this alias resolves to.
                          example: apa
                  total:
                    type: integer
                    minimum: 0
                    description: Total number of styles matching the query, before pagination.
                  limit:
                    type: integer
                    minimum: 0
                    description: Applied page size (0 means "all matches", no windowing).
                  offset:
                    type: integer
                    minimum: 0
                    description: Applied start offset into the matched set.
                  nextOffset:
                    description: 'Explicit continuation token — the `offset` to request for the next

                      page, or `null` on the last page (or when `limit: 0` returned all

                      matches). When non-null, an RFC 8288 `Link: <…>; rel="next"` response

                      header carries the same next-page URL.

                      '
                    type:
                    - integer
                    - 'null'
                    minimum: 0
                  importsEnabled:
                    type: boolean
                    description: Whether remote CSL imports are enabled for this deployment.
                  categories:
                    type: object
                    description: Present only when `?categories=1`. Available category facets.
                    properties:
                      all:
                        type: array
                        items:
                          type: string
                      bundled:
                        type: array
                        items:
                          type: string
                      remote:
                        type: array
                        items:
                          type: string
                  meta:
                    type: object
                    properties:
                      bundledCount:
                        type: integer
                        minimum: 0
                      aliasCount:
                        type: integer
                        minimum: 0
                      note:
                        type: string
              example:
                ok: true
                total: 2
                limit: 50
                offset: 0
                nextOffset: null
                importsEnabled: false
                styles:
                - id: vancouver
                  title: Vancouver
                  categories:
                  - medicine
                  - science
                  - numeric
                  bundled: true
                  engineSupported: true
                - id: harvard
                  title: Harvard style (uses APA formatting)
                  categories: []
                  bundled: false
                  engineSupported: true
                  aliasFor: apa
                meta:
                  bundledCount: 10
                  aliasCount: 3
                  note: Only bundled styles are available. Set ENABLE_CSL_IMPORTS=1 to enable remote styles.
        '429':
          description: Too Many Requests
          headers:
            X-Request-Id:
              description: Unique request correlation ID.
              schema:
                type: string
            X-RateLimit-Limit:
              description: Maximum requests allowed in the current window.
              schema:
                type: integer
                minimum: 0
            X-RateLimit-Remaining:
              description: Requests remaining in the current window.
              schema:
                type: integer
                minimum: 0
            X-RateLimit-Reset:
              description: UTC epoch seconds when the window resets.
              schema:
                type: integer
                minimum: 0
            X-RateLimit-Reset-After:
              description: Seconds until reset.
              schema:
                type: integer
                minimum: 0
            X-RateLimit-Policy:
              description: Policy string (e.g., "60;w=60, 1000;w=3600").
              schema:
                type: string
            Retry-After:
              description: Seconds until next request allowed.
              schema:
                type: integer
                minimum: 0
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                - ok
                - code
                - error
                description: 'Typed error envelope returned on 4xx/5xx protocol errors. `error` is a

                  human-readable message. `code` is a stable, machine-readable token,

                  always present on error responses and mirrored in the `X-Error-Code`

                  response header. Known codes: BAD_REQUEST, VALIDATION_ERROR,

                  UNKNOWN_STYLE, INVALID_CONTENT_TYPE, EMPTY_BODY, MALFORMED_JSON,

                  PAYLOAD_TOO_LARGE, MISSING_TITLE, RESOLVE_ERROR, READ_ONLY,

                  STREAMING_DISABLED, AUTH_MISSING, AUTH_INVALID, AUTH_DISABLED,

                  LLM_SCREEN_FORBIDDEN, IDEMPOTENCY_KEY_REUSED, NOT_FOUND, RL_BLOCKED,

                  MAINTENANCE, UPSTREAM_ERROR, UPSTREAM_TIMEOUT, UPSTREAM_RATE_LIMITED,

                  UPSTREAM_UNAVAILABLE, UPSTREAM_NETWORK_ERROR, ROUTE_ERROR. RL_BLOCKED

                  (429) is the code actually returned when the per-IP rate limit is

                  exceeded — not a generic RATE_LIMITED token.

                  '
                properties:
                  ok:
                    type: boolean
                    enum:
                    - false
                  error:
                    type: string
                    description: Human-readable error message.
                  code:
                    type: string
                    description: Stable machine-readable error code (mirrors X-Error-Code).
                example:
                  ok: false
                  code: BAD_REQUEST
                  error: Invalid input
            application/problem+json:
              schema:
                type: object
                description: 'RFC 9457 (Problem Details for HTTP APIs) representation of an error.

                  Served on any error response when the request sends

                  `Accept: application/problem+json`; otherwise the default `ErrorResponse`

                  envelope is returned. The stable `code` is preserved as an extension

                  member and mirrored in the `X-Error-Code` header.

                  '
                required:
                - type
                - title
                - status
                - code
                properties:
                  type:
                    type: string
                    format: uri
                    description: A URI identifying the problem type (per stable error code).
                    example: https://scholar-sidekick.com/errors/VALIDATION_ERROR
                  title:
                    type: string
                    description: Short, human-readable summary of the problem type.
                    example: Validation Error
                  status:
                    type: integer
                    description: HTTP status code (duplicated from the response line).
                    example: 400
                  detail:
                    type: string
                    description: Human-readable explanation specific to this occurrence.
                    example: Missing 'lines' (array) or 'text' (string) in body.
                  instance:
                    type: string
                    description: Optional request correlation id (mirrors X-Request-Id).
                  code:
                    type: string
                    description: Stable machine-readable error code (extension member; mirrors X-Error-Code).
                    example: VALIDATION_ERROR
                example:
                  type: https://scholar-sidekick.com/errors/VALIDATION_ERROR
                  title: Validation Error
                  status: 400
                  detail: Missing 'lines' (array) or 'text' (string) in body.
                  code: VALIDATION_ERROR
        '503':
          description: Service temporarily unavailable (maintenance mode).
          headers:
            X-Request-Id:
              description: Unique request correlation ID.
              schema:
                type: string
            X-Scholar-Mode:
              description: Effective service mode (normal, read-only, maintenance).
              schema:
                type: string
                enum:
                - normal
                - read-only
                - maintenance
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                - ok
                - code
                - error
                description: 'Typed error envelope returned on 4xx/5xx protocol errors. `error` is a

                  human-readable message. `code` is a stable, machine-readable token,

                  always present on error responses and mirrored in the `X-Error-Code`

                  response header. Known codes: BAD_REQUEST, VALIDATION_ERROR,

                  UNKNOWN_STYLE, INVALID_CONTENT_TYPE, EMPTY_BODY, MALFORMED_JSON,

                  PAYLOAD_TOO_LARGE, MISSING_TITLE, RESOLVE_ERROR, READ_ONLY,

                  STREAMING_DISABLED, AUTH_MISSING, AUTH_INVALID, AUTH_DISABLED,

                  LLM_SCREEN_FORBIDDEN, IDEMPOTENCY_KEY_REUSED, NOT_FOUND, RL_BLOCKED,

                  MAINTENANCE, UPSTREAM_ERROR, UPSTREAM_TIMEOUT, UPSTREAM_RATE_LIMITED,

                  UPSTREAM_UNAVAILABLE, UPSTREAM_NETWORK_ERROR, ROUTE_ERROR. RL_BLOCKED

                  (429) is the code actually returned when the per-IP rate limit is

                  exceeded — not a generic RATE_LIMITED token.

                  '
                properties:
                  ok:
                    type: boolean
                    enum:
                    - false
                  error:
                    type: string
                    description: Human-readable error message.
                  code:
                    type: string
                    description: Stable machine-readable error code (mirrors X-Error-Code).
                example:
                  ok: false
                  code: BAD_REQUEST
                  error: Invalid input
            application/problem+json:
              schema:
                type: object
                description: 'RFC 9457 (Problem Details for HTTP APIs) representation of an error.

                  Served on any error response when the request sends

                  `Accept: application/problem+json`; otherwise the default `ErrorResponse`

                  envelope is returned. The stable `code` is preserved as an extension

                  member and mirrored in the `X-Error-Code` header.

                  '
                required:
                - type
                - title
                - status
                - code
                properties:
                  type:
                    type: string
                    format: uri
                    description: A URI identifying the problem type (per stable error code).
                    example: https://scholar-sidekick.com/errors/VALIDATION_ERROR
                  title:
                    type: string
                    description: Short, human-readable summary of the problem type.
                    example: Validation Error
                  status:
                    type: integer
                    description: HTTP status code (duplicated from the response line).
                    example: 400
                  detail:
                    type: string
                    description: Human-readable explanation specific to this occurrence.
                    example: Missing 'lines' (array) or 'text' (string) in body.
                  instance:
                    type: string
                    description: Optional request correlation id (mirrors X-Request-Id).
                  code:
                    type: string
                    description: Stable machine-readable error code (extension member; mirrors X-Error-Code).
                    example: VALIDATION_ERROR
                example:
                  type: https://scholar-sidekick.com/errors/VALIDATION_ERROR
                  title: Validation Error
                  status: 400
                  detail: Missing 'lines' (array) or 'text' (string) in body.
                  code: VALIDATION_ERROR
        default:
          description: 'Typed error (catch-all). Body is the shared `ErrorResponse` envelope and

            the stable code is mirrored in the `X-Error-Code` response header.

            '
          headers:
            X-Request-Id:
              description: Unique request correlation ID.
              schema:
                type: string
            X-Error-Code:
              description: Stable internal error code.
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                - ok
                - code
                - error
                description: 'Typed error envelope returned on 4xx/5xx protocol errors. `error` is a

                  human-readable message. `code` is a stable, machine-readable token,

                  always present on error responses and mirrored in the `X-Error-Code`

                  response header. Known codes: BAD_REQUEST, VALIDATION_ERROR,

                  UNKNOWN_STYLE, INVALID_CONTENT_TYPE, EMPTY_BODY, MALFORMED_JSON,

                  PAYLOAD_TOO_LARGE, MISSING_TITLE, RESOLVE_ERROR, READ_ONLY,

                  STREAMING_DISABLED, AUTH_MISSING, AUTH_INVALID, AUTH_DISABLED,

                  LLM_SCREEN_FORBIDDEN, IDEMPOTENCY_KEY_REUSED, NOT_FOUND, RL_BLOCKED,

                  MAINTENANCE, UPSTREAM_ERROR, UPSTREAM_TIMEOUT, UPSTREAM_RATE_LIMITED,

                  UPSTREAM_UNAVAILABLE, UPSTREAM_NETWORK_ERROR, ROUTE_ERROR. RL_BLOCKED

                  (429) is the code actually returned when the per-IP rate limit is

                  exceeded — not a generic RATE_LIMITED token.

                  '
                properties:
                  ok:
                    type: boolean
                    enum:
                    - false
                  error:
                    type: string
                    description: Human-readable error message.
                  code:
                    type: string
                    description: Stable machine-readable error code (mirrors X-Error-Code).
                example:
                  ok: false
                  code: BAD_REQUEST
                  error: Invalid input
            application/problem+json:
              schema:
                type: object
                description: 'RFC 9457 (Problem Details for HTTP APIs) representation of an error.

                  Served on any error response when the request sends

                  `Accept: application/problem+json`; otherwise the default `ErrorResponse`

                  envelope is returned. The stable `code` is preserved as an extension

                  member and mirrored in the `X-Error-Code` header.

                  '
                required:
                - type
                - title
                - status
                - code
                properties:
                  type:
                    type: string
                    format: uri
                    description: A URI identifying the problem type (per stable error code).
                    example: https://scholar-sidekick.com/errors/VALIDATION_ERROR
                  title:
                    type: string
                    description: Short, human-readable summary of the problem type.
                    example: Validation Error
                  status:
                    type: integer
                    description: HTTP status code (duplicated from the response line).
                    example: 400
                  detail:
                    type: string
                    description: Human-readable explanation specific to this occurrence.
                    example: Missing 'lines' (array) or 'text' (string) in body.
                  instance:
                    type: string
                    description: Optional request correlation id (mirrors X-Request-Id).
                  code:
                    type: string
                    description: Stable machine-readable error code (extension member; mirrors X-Error-Code).
                    example: VALIDATION_ERROR
                example:
                  type: https://scholar-sidekick.com/errors/VALIDATION_ERROR
                  title: Validation Error
                  status: 400
                  detail: Missing 'lines' (array) or 'text' (string) in body.
                  code: VALIDATION_ERROR
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: ssk_
      description: 'First-party Scholar Sidekick API key (prefixed `ssk_`). Create one at https://scholar-sidekick.com/account and send it as `Authorization: Bearer ssk_…`. Signed-in keys get a higher rate-limit tier than anonymous access.'
    RapidApiKey:
      type: apiKey
      in: header
      name: X-RapidAPI-Key
      description: RapidAPI marketplace key forwarded by RapidAPI gateway (paid/managed tiers).