How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Polkadot Midnight API

The Midnight API from Polkadot — 11 operation(s) for midnight.

Polkadot Midnight API is one of 57 APIs that Polkadot publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Midnight. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, and a GitHub repository.

This API exposes 11 operations across 11 paths, and defines 19 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against a single base URL, https://https://www.subscan.io/.

11 operations 11 paths 19 schemas 11 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://polkadot.api.subscan.io
License
Terms of Service
Resource Areas
1

Paths & Operations 11

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

Midnight 11
POST
/api/scan/midnight/compact_version
Midnight Supported Compact Compiler Versions
→ 200
POST
/api/scan/midnight/contract
Midnight Contract Detail
body → 200
POST
/api/scan/midnight/contract/cma
Midnight Contract CMA info
body → 200
POST
/api/scan/midnight/contract/state
Midnight Contract State
body → 200
POST
/api/scan/midnight/contracts
Midnight Contracts
body → 200
POST
/api/scan/midnight/transaction
Midnight Transaction Detail
body → 200
POST
/api/scan/midnight/transactions
Midnight Transactions
body → 200
POST
/api/scan/midnight/unshielded_tokens/balance
Midnight Unshielded Balance
body → 200
POST
/api/scan/midnight/unshielded_tokens/balances
Midnight Unshielded Token Balance List
body → 200
POST
/api/scan/midnight/unshielded_tokens/ledger
Midnight Unshielded Ledger
body → 200
POST
/api/scan/midnight/unshielded_tokens/types
Midnight Unshielded Token Type List
body → 200

Schemas 19

The contract defines 19 schemas that model the data the API accepts and returns. The most detailed are internal_pluginv2_customizeds_midnight.MidContract (17 properties), internal_pluginv2_customizeds_midnight.MidnightUnshieldedLedgerParams (10 properties), internal_pluginv2_customizeds_midnight.MidUnshieldedLedgerItem (10 properties), internal_pluginv2_customizeds_midnight.MidCallJson (9 properties). Each schema is shown below with its type and property counts.

internal_pluginv2_customizeds_midnight.MidnightUnshieldedLedgerParams
object
10 properties 1 required
internal_pluginv2_customizeds_midnight.MidnightContractsParams
object
5 properties 1 required
internal_pluginv2_customizeds_midnight.MidnightUnshieldedBalanceParams
object
2 properties 1 required
internal_pluginv2_customizeds_midnight.MidnightUnshieldedBalanceListParams
object
3 properties 1 required
internal_pluginv2_customizeds_midnight.MidContract
object
17 properties
internal_pluginv2_customizeds_midnight.MidnightUnshieldedTokenTypeListParams
object
2 properties 1 required
internal_pluginv2_customizeds_midnight.MidUnshieldedTokenTypeListItem
object
1 property
internal_pluginv2_customizeds_midnight.MidUnshieldedBalanceListItem
object
3 properties
internal_pluginv2_customizeds_midnight.midnightTransactionParams
object
2 properties
internal_pluginv2_customizeds_midnight.MidUnshieldedLedgerItem
object
10 properties
internal_pluginv2_customizeds_midnight.MidnightTransactionsParams
object
6 properties 1 required
internal_pluginv2_customizeds_midnight.MidCallJson
object
9 properties
subscan_internal_plugin_share.J
object
4 properties
internal_pluginv2_customizeds_midnight.MidnightContractParams
object
1 property 1 required
internal_pluginv2_customizeds_midnight.MidnightUnshieldedLedgerResult
object
3 properties
internal_pluginv2_customizeds_midnight.MidnightContractState
object
2 properties 1 required
internal_pluginv2_customizeds_midnight.MidUnshieldedBalanceResult
object
2 properties
internal_pluginv2_customizeds_midnight.MidContractActionJson
object
3 properties
internal_pluginv2_customizeds_midnight.VerificationKey
object

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

polkadot-midnight-api-openapi.yml Raw ↑

Other APIs Polkadot publishes across the network.

Polkadot Account API
Polkadot accounts API
Polkadot ahm API
Polkadot Assets API
Polkadot Avail API
Polkadot Bifrost API
Polkadot Block API
Polkadot blocks API
Polkadot capabilities API
Polkadot Collator API
Polkadot Common API
Polkadot Contracts API
Where this information came from

This is an independent, third-party profile of Polkadot Midnight API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.