FastNEAR View Access Key List API

The View Access Key List API from FastNEAR — 1 operation(s) for view access key list.

GitHub OpenAPI

Operations 1

POST /view_access_key_list View access key list #

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/fastnear:fastnear-view-access-key-list-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

fastnear-view-access-key-list-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: FastNEAR RPC View Access Key List API
  description: 'NEAR Protocol JSON RPC


    Send your FastNEAR API key as an `Authorization: Bearer` header (preferred) or an `apiKey` query parameter. An unrecognized key is rejected with 403.


    For exhaustive list of endpoints, refer to the NEAR documentation.'
  version: 1.0.0
servers:
- url: https://rpc.mainnet.fastnear.com
  description: Mainnet
- url: https://rpc.testnet.fastnear.com
  description: Testnet
- url: https://archival-rpc.mainnet.fastnear.com
  description: Mainnet Archival
- url: https://archival-rpc.testnet.fastnear.com
  description: Testnet Archival
security:
- {}
- BearerAuth: []
- ApiKeyAuth: []
tags:
- name: View Access Key List
paths:
  /view_access_key_list:
    post:
      operationId: view_access_key_list
      summary: View access key list
      description: 'Fetch every access key attached to an account, each with its permissions and nonce. ML-DSA-65 keys are listed by their ml-dsa-65-hash: handle; query or reference one with the full ml-dsa-65: public key instead.'
      x-fastnear-interaction:
        kind: rpc-view-access-key-list
      x-hideReplay: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - jsonrpc
              - id
              - method
              - params
              properties:
                jsonrpc:
                  type: string
                  enum:
                  - '2.0'
                id:
                  type: string
                  example: fastnear
                method:
                  type: string
                  enum:
                  - query
                params:
                  type: object
                  properties:
                    account_id:
                      type: string
                      description: NEAR account ID
                    after_key:
                      type:
                      - string
                      - 'null'
                      description: Exclusive pagination cursor — the `last_key` handle returned by the previous page; omit to start from the first key.
                    limit:
                      type:
                      - integer
                      - 'null'
                      format: uint32
                      minimum: 1
                      description: Maximum access keys per response (≥ 1). Omit for no client-set bound; the node caps it at its `view_access_keys_limit`.
                    request_type:
                      type: string
                      enum:
                      - view_access_key_list
                    finality:
                      type: string
                      enum:
                      - final
                      - near-final
                      - optimistic
                      description: Block finality
                  required:
                  - request_type
                  - account_id
                  - finality
            examples:
              mainnet:
                summary: View access key list (Mainnet)
                value:
                  jsonrpc: '2.0'
                  id: fastnear
                  method: query
                  params:
                    account_id: root.near
                    request_type: view_access_key_list
                    finality: final
              testnet:
                summary: View access key list (Testnet)
                value:
                  jsonrpc: '2.0'
                  id: fastnear
                  method: query
                  params:
                    account_id: root.testnet
                    request_type: view_access_key_list
                    finality: final
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonRpcResponse_view_access_key_list'
        '403':
          description: The supplied API key was not recognized.
          content:
            text/plain:
              schema:
                type: string
              example: Invalid API key
      tags:
      - View Access Key List
components:
  schemas:
    JsonRpcResponse_view_access_key_list:
      type: object
      required:
      - jsonrpc
      - id
      properties:
        jsonrpc:
          type: string
          enum:
          - '2.0'
        id:
          oneOf:
          - type: string
          - type: number
        result:
          type: object
          description: Lists access keys
          properties:
            keys:
              type: array
              items:
                type: object
                description: 'Describes information about an access key including its on-trie

                  identifier. For ed25519/secp256k1 access keys the `public_key` field

                  is the full public key (string form unchanged from before); for

                  ML-DSA-65 access keys it is a `ml-dsa-65-hash:...` SHA3-256 digest

                  (the full pubkey is not stored on-chain).'
            last_key:
              type:
              - string
              - 'null'
              description: Pagination cursor — the handle of the last key returned when the listing was truncated. Pass it as `after_key` to fetch the next page; absent on the last page.
          required:
          - keys
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            data:
              type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'FastNEAR API key as an `Authorization: Bearer` header. Preferred for backends, workers, and proxies because it keeps the key out of URLs and logs.'
    ApiKeyAuth:
      type: apiKey
      in: query
      name: apiKey
      description: FastNEAR API key as the `apiKey` query parameter. Handy for curl or clients that cannot set headers, but the key can end up in URLs, logs, and shell history.