> ## Documentation Index
> Fetch the complete documentation index at: https://docs.derive.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# public/set_socialization_feed_data



## OpenAPI

````yaml /openapi.json post /public/set_socialization_feed_data
openapi: 3.1.0
info:
  title: Derive v3 API
  version: 0.2.0
  description: JSON-RPC 2.0 methods, served over WebSocket and HTTP POST.
servers:
  - url: https://api.derive.xyz/v3
    description: Production (HTTP POST base)
  - url: https://testnet.api.derive.xyz/v3
    description: Testnet (HTTP POST base)
security: []
tags:
  - name: Subaccounts
    description: >-
      List, inspect, and label subaccounts, portfolios, positions, and
      collateral.
  - name: Session Keys
    description: Register, edit, and list delegated signing keys.
  - name: Account
    description: Wallet-level account information and settings.
  - name: Orderbook
    description: Place, replace, cancel, and query orders, trigger orders, and algos.
  - name: RFQ
    description: 'Request-for-quote: send RFQs, quote, and execute block trades.'
  - name: Vault Shareholders
    description: >-
      Deposit into and withdraw from vaults, and track shares, requests, and
      performance.
  - name: Vault Curators
    description: >-
      Create and operate curated vaults: settle deposit and withdrawal requests,
      and manage vault metadata.
  - name: History
    description: >-
      Per-account historical records: orders, trades, transfers, and
      settlements.
  - name: Market Maker Protection
    description: Configure, read, and reset market-maker protection.
  - name: Transfers & Withdrawals
    description: Move collateral between subaccounts, to other wallets, and on-chain.
  - name: Onchain Actions
    description: >-
      L1 onchain actions submitted via OnchainActionManager: register deposit
      addresses, list pending deposits, and inspect onchain action history.
  - name: System
    description: Rate limits and transaction lookups.
  - name: Market Data
    description: Instruments, currencies, tickers, and market-wide feeds.
  - name: Referrals
    description: Referral codes and program performance.
  - name: Other
    description: Uncategorized.
paths:
  /public/set_socialization_feed_data:
    post:
      tags:
        - Other
      summary: public/set_socialization_feed_data
      operationId: public_set_socialization_feed_data
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublicSetSocializationFeedDataRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationAckResponse'
        default:
          description: JSON-RPC error (see Error Codes)
components:
  schemas:
    PublicSetSocializationFeedDataRequest:
      type: object
      required:
        - feeds
        - universe_id
      properties:
        feeds:
          $ref: '#/components/schemas/PublicSetFeedDataRequest'
          description: Oracle feed batch, in the `public/set_feed_data` shape.
        universe_id:
          description: Universe whose pending socialization event to patch.
          type: integer
          format: uint32
          minimum: 0
    OperationAckResponse:
      description: >-
        Postcard-friendly mirror of `sequencer_runtime::types::OperationResult`.


        We can't use `OperationResult` directly for two reasons: - it only
        derives `Serialize` (no `Deserialize` or `JsonSchema`), and - it has a
        `BalanceSnapshot` field marked `#[serde(skip)]` that we don't want
        crossing the wire.


        This mirror carries just the fields that actually cross the wire and
        adds the derives the gateway needs.
      type: object
      required:
        - mmp_triggered
        - op_uuid
        - operation_id
      properties:
        mmp_triggered:
          type: array
          items:
            type: integer
            format: uint64
            minimum: 0
        op_uuid:
          type: string
        operation_id:
          type: integer
          format: uint64
          minimum: 0
    PublicSetFeedDataRequest:
      type: object
      required:
        - forward
        - perp
        - rate
        - spot
        - vol
      properties:
        forward:
          type: array
          items:
            $ref: '#/components/schemas/PublicForwardFeedDataParams'
        funding:
          description: >-
            Per-hour perpetual funding rates. Optional so an oracle that
            predates the funding feed keeps publishing the other five.
          type: array
          items:
            $ref: '#/components/schemas/PublicFundingFeedDataParams'
        perp:
          type: array
          items:
            $ref: '#/components/schemas/PublicPerpFeedDataParams'
        rate:
          type: array
          items:
            $ref: '#/components/schemas/PublicRateFeedDataParams'
        spot:
          type: array
          items:
            $ref: '#/components/schemas/PublicSpotFeedDataParams'
        vol:
          type: array
          items:
            $ref: '#/components/schemas/PublicVolFeedDataParams'
    PublicForwardFeedDataParams:
      type: object
      required:
        - confidence
        - currency
        - expiry
        - fwd_diff
        - spot_aggregate_latest
        - spot_aggregate_start
        - timestamp
      properties:
        confidence:
          type: string
        currency:
          type: string
        deadline:
          default: 0
          type: integer
          format: int64
        expiry:
          type: integer
          format: int64
        fwd_diff:
          type: string
        signatures:
          $ref: '#/components/schemas/PublicOracleSignatureDataParams'
        spot_aggregate_latest:
          type: string
        spot_aggregate_start:
          type: string
        timestamp:
          type: integer
          format: int64
    PublicFundingFeedDataParams:
      type: object
      required:
        - confidence
        - currency
        - funding_rate
        - timestamp
      properties:
        confidence:
          type: string
        currency:
          type: string
        deadline:
          default: 0
          type: integer
          format: int64
        funding_rate:
          description: Per-hour funding rate as a decimal string; may be negative.
          type: string
        signatures:
          $ref: '#/components/schemas/PublicOracleSignatureDataParams'
        timestamp:
          type: integer
          format: int64
    PublicPerpFeedDataParams:
      type: object
      required:
        - confidence
        - currency
        - spot_diff_value
        - timestamp
        - type
      properties:
        confidence:
          type: string
        currency:
          type: string
        deadline:
          default: 0
          type: integer
          format: int64
        signatures:
          $ref: '#/components/schemas/PublicOracleSignatureDataParams'
        spot_diff_value:
          type: string
        timestamp:
          type: integer
          format: int64
        type:
          type: string
    PublicRateFeedDataParams:
      type: object
      required:
        - confidence
        - currency
        - expiry
        - rate
        - timestamp
      properties:
        confidence:
          type: string
        currency:
          type: string
        deadline:
          default: 0
          type: integer
          format: int64
        expiry:
          type: integer
          format: int64
        rate:
          type: string
        signatures:
          $ref: '#/components/schemas/PublicOracleSignatureDataParams'
        timestamp:
          type: integer
          format: int64
    PublicSpotFeedDataParams:
      type: object
      required:
        - confidence
        - currency
        - price
        - timestamp
      properties:
        confidence:
          type: string
        currency:
          type: string
        deadline:
          default: 0
          type: integer
          format: int64
        feed_source_type:
          default: null
          type:
            - string
            - 'null'
        price:
          type: string
        signatures:
          $ref: '#/components/schemas/PublicOracleSignatureDataParams'
        timestamp:
          type: integer
          format: int64
    PublicVolFeedDataParams:
      type: object
      required:
        - confidence
        - currency
        - expiry
        - timestamp
        - vol_data
      properties:
        confidence:
          type: string
        currency:
          type: string
        deadline:
          default: 0
          type: integer
          format: int64
        expiry:
          type: integer
          format: int64
        signatures:
          $ref: '#/components/schemas/PublicOracleSignatureDataParams'
        timestamp:
          type: integer
          format: int64
        vol_data:
          $ref: '#/components/schemas/PublicVolSVIParamDataParams'
    PublicOracleSignatureDataParams:
      type: object
      properties:
        signatures:
          default: []
          type: array
          items:
            type: string
        signers:
          default: []
          type: array
          items:
            type: string
    PublicVolSVIParamDataParams:
      type: object
      required:
        - SVI_a
        - SVI_b
        - SVI_fwd
        - SVI_m
        - SVI_refTau
        - SVI_rho
        - SVI_sigma
      properties:
        SVI_a:
          type: string
        SVI_b:
          type: string
        SVI_fwd:
          type: string
        SVI_m:
          type: string
        SVI_refTau:
          type: string
        SVI_rho:
          type: string
        SVI_sigma:
          type: string

````

## Related topics

- [public/get_latest_signed_feeds](/api-reference/market-data/publicget_latest_signed_feeds.md)
- [Spot feed](/api-reference/channels/spotfeed.md)
- [public/margin_watch](/api-reference/subaccounts/publicmargin_watch.md)
