Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

NEAR Protocol public-key API

The public-key API from NEAR Protocol — 4 operation(s) for public-key.

NEAR Protocol public-key API is one of 60 APIs that NEAR Protocol publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include public-key. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and rate-limit docs.

This API exposes 4 operations across 4 paths, and defines 1 schema. It is described by OpenAPI 3.0.3, at version 3.0.3.

Requests are made against 2 base URLs: https://api.fastnear.com, https://test.api.fastnear.com.

4 operations 4 paths 1 schemas 4 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
3.0.3
Base URL
https://rpc.mainnet.near.org
Resource Areas
1

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 4 GET. Each is listed below with its method, path, parameters, and response codes.

public-key 4
GET
/v0/public_key/{public_key}
Lookup full-access accounts by public key
lookup_by_public_key_v0 2 params → 200400500
GET
/v0/public_key/{public_key}/all
Lookup all indexed accounts by public key
lookup_by_public_key_all_v0 2 params → 200400500
GET
/v1/public_key/{public_key}
Lookup full-access accounts by public key
lookup_by_public_key_v1 2 params → 200400500
GET
/v1/public_key/{public_key}/all
Lookup all indexed accounts by public key
lookup_by_public_key_all_v1 2 params → 200400500

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is PublicKeyLookupResponse (2 properties). Each schema is shown below with its type and property counts.

PublicKeyLookupResponse
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

near-public-key-api-openapi.yml Raw ↑

Other APIs NEAR Protocol publishes across the network.

NEAR Protocol accounts API
NEAR Protocol Block API
NEAR Protocol Block Effects API
NEAR Protocol Broadcast Tx Async API
NEAR Protocol Broadcast Tx Commit API
NEAR Protocol Changes API
NEAR Protocol Chunk API
NEAR Protocol Client Config API
NEAR Protocol EXPERIMENTAL Call Function API
NEAR Protocol EXPERIMENTAL Changes API
NEAR Protocol EXPERIMENTAL Changes In Block API
NEAR Protocol EXPERIMENTAL Congestion Level API