Polkadot Extrinsic API

The Extrinsic API from Polkadot — 6 operation(s) for extrinsic.

Operations 6

POST /api/scan/extrinsic Get extrinsic details
POST /api/scan/extrinsic/params Get extrinsic parameters
POST /api/scan/extrinsic/reward List extrinsic reward records
POST /api/scan/getRawTx Get raw extrinsic transaction
POST /api/scan/pendingExtrinsics List pending extrinsics
POST /api/v2/scan/extrinsics List extrinsics

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/polkadot-extrinsic-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

polkadot-extrinsic-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: bruce.sun@itering.io
    name: API Support
    url: http://www.swagger.io/support
  description: This is a subscan API server.
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: http://swagger.io/terms/
  title: Subscan Extrinsic API
  version: '1.0'
servers:
- url: https://https://www.subscan.io/
tags:
- name: Extrinsic
paths:
  /api/scan/extrinsic:
    post:
      description: Returns extrinsic details by extrinsic_index or hash, with optional event and parameter controls.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/internal_server_http.J'
                - properties:
                    data:
                      $ref: '#/components/schemas/subscan_internal_model.ExtrinsicDetail'
                  type: object
      summary: Get extrinsic details
      tags:
      - Extrinsic
      x-synonyms:
      - extrinsic
      - scan
      - transaction
      - tx
      - on-chain call
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/internal_server_http.ExtrinsicDetailParams'
        description: params
        required: true
  /api/scan/extrinsic/params:
    post:
      description: Returns parsed parameter payloads for up to 100 extrinsic indexes.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/internal_server_http.J'
                - properties:
                    data:
                      items:
                        $ref: '#/components/schemas/subscan_internal_model.ChainExtrinsicParams'
                      type: array
                  type: object
      summary: Get extrinsic parameters
      tags:
      - Extrinsic
      x-synonyms:
      - extrinsic
      - parameters
      - scan
      - params
      - transaction
      - tx
      - on-chain call
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/internal_server_http.extrinsicParamsParams'
        description: params
        required: true
  /api/scan/extrinsic/reward:
    post:
      description: 'Returns the reward records associated with one extrinsic index.

        This API only supports networks with staking frame or parachain-staking pallet'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/internal_server_http.J'
                - properties:
                    data:
                      properties:
                        count:
                          type: integer
                        list:
                          items:
                            $ref: '#/components/schemas/subscan_internal_model.ExtrinsicRewardJson'
                          type: array
                      type: object
                  type: object
      summary: List extrinsic reward records
      tags:
      - Extrinsic
      x-synonyms:
      - extrinsic
      - reward
      - scan
      - transaction
      - tx
      - on-chain call
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/internal_server_http.extrinsicRewardParams'
        description: params
        required: true
  /api/scan/getRawTx:
    post:
      description: Returns the raw transaction hex for an extrinsic index or extrinsic hash.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/internal_server_http.J'
                - properties:
                    data:
                      type: string
                  type: object
      summary: Get raw extrinsic transaction
      tags:
      - Extrinsic
      x-synonyms:
      - raw
      - extrinsic
      - transaction
      - scan
      - getrawtx
      - tx
      - on-chain call
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/internal_server_http.rawTxParams'
        description: params
        required: true
  /api/scan/pendingExtrinsics:
    post:
      description: Returns currently pending extrinsics in the mempool.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/internal_server_http.J'
                - properties:
                    data:
                      properties:
                        extrinsics:
                          items:
                            $ref: '#/components/schemas/subscan_internal_model.ChainExtrinsicJson'
                          type: array
                      type: object
                  type: object
      summary: List pending extrinsics
      tags:
      - Extrinsic
      x-synonyms:
      - pending
      - extrinsics
      - extrinsic
      - scan
      - pendingextrinsics
      - transaction
      - tx
      - on-chain call
  /api/v2/scan/extrinsics:
    post:
      description: Returns paginated extrinsics with module/call, signer, success, and block-range filters.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/internal_server_http.J'
                - properties:
                    data:
                      properties:
                        count:
                          type: integer
                        extrinsics:
                          items:
                            $ref: '#/components/schemas/subscan_internal_model.ChainExtrinsicV2Json'
                          type: array
                      type: object
                  type: object
      summary: List extrinsics
      tags:
      - Extrinsic
      x-synonyms:
      - extrinsics
      - extrinsic
      - scan
      - transaction
      - tx
      - on-chain call
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/internal_server_http.extrinsicsParams'
        description: params
        required: true
components:
  schemas:
    subscan_internal_model.ChainExtrinsicJson:
      properties:
        account_display:
          $ref: '#/components/schemas/subscan_internal_model.AccountDisplay'
        account_id:
          type: string
        account_index:
          type: string
        block_num:
          type: integer
        block_timestamp:
          type: integer
        call_module:
          type: string
        call_module_function:
          type: string
        extrinsic_hash:
          type: string
        extrinsic_index:
          type: string
        fee:
          type: string
        fee_used:
          type: string
        finalized:
          type: boolean
        from_hex:
          type: string
        nonce:
          type: integer
        params:
          type: string
        signature:
          type: string
        success:
          type: boolean
      type: object
    subscan_internal_model.ExtrinsicRewardJson:
      properties:
        account:
          $ref: '#/components/schemas/subscan_internal_model.AccountDisplay'
        amount:
          type: string
      type: object
    subscan_internal_model.MerkleTag:
      properties:
        address_type:
          type: string
        tag_name:
          type: string
        tag_subtype:
          type: string
        tag_type:
          type: string
      type: object
    subscan_internal_model.MultiAction:
      enum:
      - Approval
      - Executed
      - Cancelled
      - Failed
      type: string
      x-enum-varnames:
      - MultiActionApproval
      - MultiActionExecuted
      - MultiActionCancelled
      - MultiActionExecuteFailed
    internal_server_http.J:
      properties:
        code:
          example: 0
          type: integer
        data: {}
        generated_at:
          example: 1699600641
          type: integer
        message:
          example: Success
          type: string
      type: object
    internal_server_http.ExtrinsicDetailParams:
      properties:
        events_limit:
          type: integer
        extrinsic_index:
          type: string
        hash:
          type: string
        hide_events:
          description: hide events in response
          type: boolean
      type: object
    subscan_libs_substrate.MetadataModuleError:
      properties:
        doc:
          items:
            type: string
          type: array
        module:
          type: string
        name:
          type: string
        value:
          type: string
      type: object
    subscan_internal_model.AccountParentJson:
      properties:
        address:
          type: string
        display:
          type: string
        identity:
          type: boolean
        sub_symbol:
          type: string
      type: object
    subscan_internal_model.TransferJson:
      properties:
        amount:
          type: string
        asset_symbol:
          type: string
        from:
          type: string
        hash:
          type: string
        module:
          type: string
        success:
          type: boolean
        to:
          type: string
        to_account_display:
          $ref: '#/components/schemas/subscan_internal_model.AccountDisplay'
      type: object
    subscan_internal_model.AccountDisplay:
      properties:
        account_index:
          type: string
        address:
          description: Current network account
          type: string
        display:
          type: string
        evm_address:
          type: string
        evm_contract:
          $ref: '#/components/schemas/subscan_internal_model.EvmAccountDisplay'
        identity:
          type: boolean
        judgements:
          items:
            $ref: '#/components/schemas/subscan_internal_model.RegistrationJudgementJson'
          type: array
        merkle:
          $ref: '#/components/schemas/subscan_internal_model.MerkleTag'
        parent:
          allOf:
          - $ref: '#/components/schemas/subscan_internal_model.AccountParentJson'
          description: Parent account
        people:
          $ref: '#/components/schemas/subscan_internal_model.SampleIdentity'
      type: object
    subscan_internal_model.ExtrinsicAssetFee:
      properties:
        decimal:
          type: integer
        fee:
          type: string
        fee_used:
          type: string
        symbol:
          type: string
        token_unique_id:
          type: string
      type: object
    internal_server_http.extrinsicRewardParams:
      properties:
        extrinsic_index:
          type: string
        page:
          description: Page number, starting from 0
          example: 0
          minimum: 0
          type: integer
        row:
          description: Data size per page
          example: 10
          maximum: 100
          minimum: 1
          type: integer
      required:
      - extrinsic_index
      type: object
    subscan_internal_model.ChainExtrinsicParams:
      properties:
        extrinsic_index:
          type: string
        params:
          items:
            $ref: '#/components/schemas/subscan_internal_model.ExtrinsicParam'
          type: array
      type: object
    subscan_internal_model.RegistrationJudgementJson:
      properties:
        index:
          type: integer
        judgement:
          type: string
      type: object
    internal_server_http.extrinsicParamsParams:
      properties:
        extrinsic_index:
          items:
            type: string
          type: array
      required:
      - extrinsic_index
      type: object
    subscan_internal_model.ChainExtrinsicV2Json:
      properties:
        account_display:
          $ref: '#/components/schemas/subscan_internal_model.AccountDisplay'
        additional_meta:
          additionalProperties: true
          type: object
        block_num:
          type: integer
        block_timestamp:
          type: integer
        call_module:
          type: string
        call_module_function:
          type: string
        extrinsic_hash:
          type: string
        extrinsic_index:
          type: string
        fee:
          type: string
        fee_used:
          type: string
        finalized:
          type: boolean
        id:
          type: integer
        nonce:
          type: integer
        success:
          type: boolean
        tip:
          type: string
      type: object
    subscan_internal_model.ExtrinsicParam:
      properties:
        name:
          type: string
        type:
          type: string
        type_name:
          type: string
        value: {}
      type: object
    subscan_internal_model.ExtrinsicDetail:
      properties:
        account_display:
          $ref: '#/components/schemas/subscan_internal_model.AccountDisplay'
        account_id:
          type: string
        additional_meta:
          additionalProperties: true
          type: object
        asset_fee:
          $ref: '#/components/schemas/subscan_internal_model.ExtrinsicAssetFee'
        block_hash:
          type: string
        block_num:
          type: integer
        block_timestamp:
          type: integer
        call_module:
          type: string
        call_module_function:
          type: string
        error:
          $ref: '#/components/schemas/subscan_internal_model.ExtrinsicError'
        event:
          items:
            $ref: '#/components/schemas/subscan_internal_model.ChainEventJson'
          type: array
        event_count:
          type: integer
        extrinsic_hash:
          type: string
        extrinsic_index:
          type: string
        fee:
          type: string
        fee_used:
          type: string
        finalized:
          type: boolean
        lifetime:
          $ref: '#/components/schemas/subscan_internal_model.Lifetime'
        multisig:
          items:
            $ref: '#/components/schemas/subscan_internal_model.MultisigJson'
          type: array
        nonce:
          type: integer
        params:
          items:
            $ref: '#/components/schemas/subscan_internal_model.ExtrinsicParam'
          type: array
        pending:
          type: boolean
        signature:
          type: string
        sub_calls:
          items:
            $ref: '#/components/schemas/subscan_internal_model.ExtrinsicSubCallJson'
          type: array
        success:
          type: boolean
        tip:
          type: string
        transfer:
          $ref: '#/components/schemas/subscan_internal_model.TransferJson'
      type: object
    subscan_internal_model.EvmAccountDisplay:
      properties:
        contract_name:
          type: string
        verify_source:
          type: string
      type: object
    subscan_internal_model.ExtrinsicError:
      properties:
        batch_index:
          type: integer
        doc:
          type: string
        module:
          type: string
        name:
          type: string
        value:
          type: string
        version:
          type: integer
      type: object
    internal_server_http.rawTxParams:
      properties:
        extrinsic_index:
          description: Optional, extrinsic index
          type: string
        hash:
          description: Optional, extrinsic hash
          type: string
      type: object
    subscan_internal_model.ChainEventJson:
      properties:
        block_num:
          type: integer
        block_timestamp:
          type: integer
        event_id:
          type: string
        event_idx:
          type: integer
        event_index:
          type: string
        extrinsic_hash:
          type: string
        extrinsic_idx:
          type: integer
        finalized:
          type: boolean
        module_id:
          type: string
        params:
          type: string
        phase:
          type: integer
      type: object
    internal_server_http.moduleCallFilterParams:
      properties:
        call:
          type: string
        module:
          type: string
      type: object
    subscan_internal_model.SampleIdentity:
      properties:
        display:
          type: string
        identity:
          type: boolean
        judgements:
          items:
            $ref: '#/components/schemas/subscan_internal_model.RegistrationJudgementJson'
          type: array
        parent:
          $ref: '#/components/schemas/subscan_internal_model.AccountParentJson'
      type: object
    subscan_internal_model.ExtrinsicSubCallJson:
      properties:
        account:
          $ref: '#/components/schemas/subscan_internal_model.AccountDisplay'
        exec_result:
          $ref: '#/components/schemas/subscan_libs_substrate.MetadataModuleError'
        exec_status:
          type: string
        module:
          type: string
        multisig:
          $ref: '#/components/schemas/subscan_internal_model.MultisigJson'
        name:
          type: string
        param: {}
        sub_calls:
          items:
            $ref: '#/components/schemas/subscan_internal_model.ExtrinsicSubCallJson'
          type: array
      type: object
    internal_server_http.extrinsicsParams:
      properties:
        address:
          type: string
        after_id:
          type: integer
        block_num:
          minimum: 0
          type: integer
        block_range:
          type: string
        call:
          type: string
        module:
          type: string
        module_call:
          items:
            $ref: '#/components/schemas/internal_server_http.moduleCallFilterParams'
          type: array
        order:
          enum:
          - asc
          - desc
          type: string
        page:
          description: Page number, starting from 0
          example: 0
          minimum: 0
          type: integer
        row:
          description: Data size per page
          example: 10
          maximum: 100
          minimum: 1
          type: integer
        signed:
          type: string
        success:
          type: boolean
        timeout:
          type: integer
      type: object
    subscan_internal_model.MultisigJson:
      properties:
        call_hash:
          type: string
        call_module:
          type: string
        call_module_function:
          type: string
        error:
          $ref: '#/components/schemas/subscan_internal_model.ExtrinsicError'
        extrinsic_index:
          type: string
        multi_id:
          type: string
        multisig_account_display:
          $ref: '#/components/schemas/subscan_internal_model.AccountDisplay'
        multisig_status:
          $ref: '#/components/schemas/subscan_internal_model.MultiAction'
        processing:
          type: integer
        threshold:
          type: integer
      type: object
    subscan_internal_model.Lifetime:
      properties:
        birth:
          type: integer
        death:
          type: integer
      type: object