{
  "service_detail_version": "agent_router_service_detail_v1",
  "data_context": {
    "page_role": "service_capability_detail",
    "result_preview_role": "latest_validation_sample",
    "result_preview_is_live_user_query": false,
    "explanation": "latest_validation.result_preview is the last provider validation sample. It proves this service can return real JSON for its sample request, but it is not the result of the current buyer Agent task.",
    "live_query_instruction": "Buyer Agents should invoke this service with task-specific input through AgentRouter instead of reusing the validation sample as the final answer."
  },
  "service": {
    "service_id": "nansen_prediction_market_top_holders",
    "manifest_type": "hosted_http_data_api",
    "version": "1.0.0",
    "manifest_hash": "0x98bede657a051938f83b3fc918498ab6af36543fab879f74e8a3ee46dc86a8c0",
    "config_hash": "0xbf668997503e96bd8d55f13245eeea3709906b793c0ef8c65f001ee3e3f8b477",
    "title": "Get Prediction Market Top Holders",
    "display_title": "Get Prediction Market Top Holders",
    "description_for_agent": "Use this Nansen API service when a buyer Agent needs Get Prediction Market Top Holders. Endpoint: POST /api/v1/prediction-market/top-holders. Best for prediction market questions such as markets, events, orderbooks, holders, trades, positions, and PnL.",
    "capabilities": [
      "nansen",
      "data_service",
      "prediction_market",
      "polymarket",
      "market_intelligence",
      "token_holders",
      "holder_distribution"
    ],
    "routing": {
      "routing_version": "agentrouter_structured_routing_v1",
      "domains": [
        "crypto",
        "market_data",
        "onchain"
      ],
      "data_types": [
        "nansen",
        "prediction_market",
        "polymarket",
        "market_intelligence",
        "token_holders",
        "holder_distribution",
        "price"
      ],
      "entities": [
        "token",
        "wallet_address",
        "time_window"
      ],
      "chains": [],
      "time_requirements": {
        "supports_realtime": true,
        "supports_historical": true,
        "accepted_time_fields": []
      },
      "input_fields": [
        "market_id",
        "pagination"
      ],
      "output_fields": [
        "data",
        "data.side",
        "data.address",
        "data.market_id",
        "data.current_price",
        "data.outcome_index",
        "data.owner_address",
        "data.position_size",
        "data.avg_entry_price",
        "data.unrealized_pnl_usd",
        "pagination",
        "pagination.page",
        "pagination.per_page",
        "pagination.is_last_page"
      ],
      "keywords": [
        "prediction",
        "market",
        "top",
        "holders",
        "nansen",
        "when",
        "buyer",
        "agent",
        "needs",
        "endpoint",
        "prediction-market",
        "top-holders",
        "best",
        "questions",
        "such",
        "markets",
        "events",
        "orderbooks"
      ],
      "capability_refs": [
        "nansen",
        "data_service",
        "prediction_market",
        "polymarket",
        "market_intelligence",
        "token_holders",
        "holder_distribution"
      ]
    },
    "pricing": {
      "amount": "0.01",
      "pay_to": "0x2c4d600a04c0d3bbb1e3cc8a13e54e21c2b6c0bb",
      "network": "base",
      "currency": "USDC",
      "protocol": "x402",
      "settlement_model": "direct_provider_wallet"
    },
    "verification_status": "verified",
    "trust": {
      "provider_id": "provider_nansen_api",
      "feedback_count": 1,
      "operational_feedback_count": 1,
      "consumer_feedback_count": 0,
      "recent_failure_rate": 1,
      "success_rate": 0,
      "schema_valid_rate": 0,
      "freshness_valid_rate": 1,
      "coverage_valid_rate": 1,
      "intent_fit_rate": null,
      "intent_mismatch_count": 0,
      "intent_mismatch_rate": null,
      "usefulness_rate": null,
      "average_consumer_score": null,
      "average_agent_friendly_score": 0.76,
      "average_latency_ms": 5577,
      "verification_status": "verified",
      "feedback_state": "observed",
      "trust_score": 0.3208,
      "trust_score_prior": 0.7,
      "trust_score_confidence": 0.1667,
      "routing_trust_score": 0.6368
    },
    "sample_request": {
      "market_id": "573655",
      "pagination": {
        "page": 1,
        "per_page": 3
      }
    },
    "request_data": {
      "fields": [
        "market_id",
        "pagination"
      ],
      "example": {
        "market_id": "573655",
        "pagination": {
          "page": 1,
          "per_page": 3
        }
      },
      "purpose": "Use this example before payment to decide whether the service accepts the fields needed for the task.",
      "shape_summary": "object keys: market_id, pagination"
    },
    "response_data": {
      "fields": [
        "pagination",
        "pagination.page",
        "pagination.per_page",
        "pagination.is_last_page",
        "data",
        "data.market_id",
        "data.outcome_index",
        "data.address",
        "data.owner_address",
        "data.side",
        "data.position_size",
        "data.avg_entry_price",
        "data.current_price",
        "data.unrealized_pnl_usd"
      ],
      "preview": {
        "data": [
          {
            "side": "example",
            "address": "0x0000000000000000000000000000000000000000",
            "market_id": "example",
            "current_price": "example",
            "outcome_index": "example",
            "owner_address": "0x0000000000000000000000000000000000000000",
            "position_size": "example",
            "avg_entry_price": "example",
            "unrealized_pnl_usd": "example"
          }
        ],
        "pagination": {
          "page": 1,
          "per_page": 10,
          "is_last_page": true
        }
      },
      "purpose": "Use this preview before payment to decide whether the service can return data useful for the task. It is a sample/preview, not a guaranteed paid result.",
      "shape_summary": "object keys: pagination, data"
    },
    "pre_call_context": {
      "context_version": "agent_pre_call_context_v1",
      "decision_summary": "Use nansen_prediction_market_top_holders when the task fits: nansen, prediction_market, polymarket, market_intelligence, token_holders, holder_distribution. Costs 0.01 USDC via x402 on base. Service is currently healthy.",
      "buyer_requirements": {
        "payment_required": true,
        "payment_protocol": "x402",
        "currency": "USDC",
        "network": "base",
        "needs_buyer_api_key": false,
        "max_budget_field": "max_amount"
      },
      "provider_requirements": {
        "provider_credential_required": true,
        "credential_public": false,
        "credential_custody": "hosted_runtime_config"
      },
      "pricing": {
        "amount": "0.01",
        "pay_to": "0x2c4d600a04c0d3bbb1e3cc8a13e54e21c2b6c0bb",
        "network": "base",
        "currency": "USDC",
        "protocol": "x402",
        "settlement_model": "direct_provider_wallet"
      },
      "freshness": {
        "update_frequency": "on_request",
        "max_data_lag_seconds": 300,
        "declared_live_on_request": true
      },
      "provenance": {
        "provenance_version": "agent_data_source_provenance_v1",
        "source_provenance_level": "wrapped_api",
        "source_type": "provider_declared_data_service",
        "authorization_status": "provider_declared",
        "redistribution_status": "provider_declared",
        "credential_custody": "hosted_runtime_config",
        "platform_stores_credentials": true,
        "verified_by_platform": false
      },
      "verification": {
        "status": "verified",
        "last_validation_ok": true,
        "last_validation_at": "2026-09-08T08:21:24.360Z",
        "latest_http_status": 502
      },
      "trust": {
        "provider_id": "provider_nansen_api",
        "feedback_count": 1,
        "operational_feedback_count": 1,
        "consumer_feedback_count": 0,
        "recent_failure_rate": 1,
        "success_rate": 0,
        "schema_valid_rate": 0,
        "freshness_valid_rate": 1,
        "coverage_valid_rate": 1,
        "intent_fit_rate": null,
        "intent_mismatch_count": 0,
        "intent_mismatch_rate": null,
        "usefulness_rate": null,
        "average_consumer_score": null,
        "average_agent_friendly_score": 0.76,
        "average_latency_ms": 5577,
        "verification_status": "verified",
        "feedback_state": "observed",
        "trust_score": 0.3208,
        "trust_score_prior": 0.7,
        "trust_score_confidence": 0.1667,
        "routing_trust_score": 0.6368
      },
      "health": {
        "health_version": "agent_service_health_v1",
        "status": "healthy",
        "last_validation_at": "2026-09-08T08:21:24.360Z",
        "last_validation_ok": true,
        "last_success_at": null,
        "last_failure_at": "2026-09-07T15:14:04.125Z",
        "latest_http_status": 502,
        "recent_failure_rate": 1,
        "circuit_breaker": {
          "active": false,
          "reason": null,
          "recent_window": 1,
          "recent_failures": 1
        }
      },
      "request_data": {
        "fields": [
          "market_id",
          "pagination"
        ],
        "example": {
          "market_id": "573655",
          "pagination": {
            "page": 1,
            "per_page": 3
          }
        },
        "purpose": "Use this example before payment to decide whether the service accepts the fields needed for the task.",
        "shape_summary": "object keys: market_id, pagination"
      },
      "response_data": {
        "fields": [
          "pagination",
          "pagination.page",
          "pagination.per_page",
          "pagination.is_last_page",
          "data",
          "data.market_id",
          "data.outcome_index",
          "data.address",
          "data.owner_address",
          "data.side",
          "data.position_size",
          "data.avg_entry_price",
          "data.current_price",
          "data.unrealized_pnl_usd"
        ],
        "preview": {
          "data": [
            {
              "side": "example",
              "address": "0x0000000000000000000000000000000000000000",
              "market_id": "example",
              "current_price": "example",
              "outcome_index": "example",
              "owner_address": "0x0000000000000000000000000000000000000000",
              "position_size": "example",
              "avg_entry_price": "example",
              "unrealized_pnl_usd": "example"
            }
          ],
          "pagination": {
            "page": 1,
            "per_page": 10,
            "is_last_page": true
          }
        },
        "purpose": "Use this preview before payment to decide whether the service can return data useful for the task. It is a sample/preview, not a guaranteed paid result.",
        "shape_summary": "object keys: pagination, data"
      },
      "limitations": [
        "Sample response is mock/static and not a live paid response."
      ],
      "risk_flags": [
        "recent_failures",
        "has_declared_limitations"
      ]
    },
    "sample_response": {
      "schema_version": "agent_data_envelope_v1",
      "status": "success",
      "sample_type": "mock",
      "query_shape": {
        "market_id": "<string>",
        "pagination": {
          "page": "<number>",
          "per_page": "<number>"
        }
      },
      "data_shape": {
        "data": {
          "type": "array",
          "item_count_sample": 1,
          "item_shape": {
            "side": "<string>",
            "address": "<address_or_hash>",
            "market_id": "<string>",
            "current_price": "<string>",
            "outcome_index": "<string>",
            "owner_address": "<address_or_hash>",
            "position_size": "<string>",
            "avg_entry_price": "<string>",
            "unrealized_pnl_usd": "<string>"
          }
        },
        "pagination": {
          "page": "<number>",
          "per_page": "<number>",
          "is_last_page": "<boolean>"
        }
      },
      "metadata": {
        "data_sources": [
          "provider_config_hosted_http"
        ],
        "freshness_seconds": 86400,
        "is_estimated": true,
        "confidence": 0.7,
        "limitations": [
          "Sample response is mock/static and not a live paid response."
        ]
      },
      "agent_hints": {
        "good_for": [
          "MVP validation",
          "Agent response parsing"
        ],
        "warnings": [
          "Use paid invocation for the full response."
        ],
        "suggested_followups": []
      },
      "summary": "Use this Nansen API service when a buyer Agent needs Get Prediction Market Top Holders. Endpoint: POST /api/v1/prediction-market/top-holders. Best for prediction market questions such as markets, events, orderbooks, holders, trades, positions, and PnL. (sample response)",
      "redaction": {
        "redacted": true,
        "reason": "Public discovery responses expose schema and shape only. Real values require paid invocation."
      }
    },
    "validation_result_preview": null,
    "source_provenance": {
      "provenance_version": "agent_data_source_provenance_v1",
      "source_provenance_level": "wrapped_api",
      "source_type": "provider_declared_data_service",
      "authorization_status": "provider_declared",
      "redistribution_status": "provider_declared",
      "credential_custody": "hosted_runtime_config",
      "platform_stores_credentials": true,
      "verified_by_platform": false
    },
    "quality_profile": {
      "profile_version": "agent_data_quality_profile_v1",
      "verification_status": "verified",
      "latest_validation_ok": true,
      "latest_validation_error": null,
      "feedback_count": 1,
      "quality_event_count": 1,
      "upstream_error_count": 1,
      "business_error_count": 1,
      "latest_verification": {
        "issues": [
          {
            "code": "SCHEMA_ERROR",
            "message": "$.data is required"
          },
          {
            "code": "STATUS_NOT_SUCCESS",
            "message": "Result status is not success."
          },
          {
            "code": "EMPTY_RESULT",
            "message": "Provider returned a structurally valid response, but the data payload is empty."
          }
        ],
        "data_shape": {
          "type": "undefined",
          "empty": true,
          "top_level_keys": []
        },
        "sanity_valid": true,
        "schema_valid": false,
        "quality_model": {
          "name": "deterministic_first_data_quality_v1",
          "weights": {
            "deterministic": 0.8,
            "agent_friendly": 0.2
          }
        },
        "coverage_valid": true,
        "data_non_empty": false,
        "freshness_valid": true,
        "data_quality_issues": [],
        "deterministic_score": 0.45,
        "agent_friendly_score": 0.76,
        "overall_quality_score": 0.51
      },
      "latest_quality_event": {
        "input": {
          "chain": "robinhood",
          "order_by": [
            {
              "field": "token_amount",
              "direction": "DESC"
            }
          ],
          "label_type": "all_holders",
          "pagination": {
            "page": 1,
            "per_page": 10
          },
          "token_address": "0x39dbed3a2bd333467115de45665cc57f813c4571",
          "aggregate_by_entity": false
        },
        "status": "quality_issue",
        "created_at": "2026-09-07T15:14:04.125Z",
        "payment_tx": "credits:cle_d12d29b9-7369-4b27-9839-268319ef944c",
        "request_id": "req_1788794042973",
        "service_id": "nansen_prediction_market_top_holders",
        "http_status": 502,
        "provider_id": "provider_nansen_api",
        "event_version": "agent_service_quality_event_v1",
        "business_error": {
          "code": "RESULT_STATUS_NOT_SUCCESS",
          "message": "Provider envelope status is not success.",
          "detected": true
        },
        "blocking_issues": [
          {
            "code": "SCHEMA_ERROR",
            "message": "$.data is required"
          },
          {
            "code": "RESULT_STATUS_NOT_SUCCESS",
            "message": "Provider envelope status is not success."
          },
          {
            "code": "RESULT_DATA_EMPTY",
            "message": "Provider returned no usable data."
          }
        ],
        "quality_event_id": "qe_1788794044125_6ac79e69",
        "blocking_issue_count": 3,
        "agent_feedback_expected": true,
        "deterministic_verification": {
          "issues": [
            {
              "code": "SCHEMA_ERROR",
              "message": "$.data is required"
            },
            {
              "code": "STATUS_NOT_SUCCESS",
              "message": "Result status is not success."
            },
            {
              "code": "EMPTY_RESULT",
              "message": "Provider returned a structurally valid response, but the data payload is empty."
            }
          ],
          "data_shape": {
            "type": "undefined",
            "empty": true,
            "top_level_keys": []
          },
          "sanity_valid": true,
          "schema_valid": false,
          "quality_model": {
            "name": "deterministic_first_data_quality_v1",
            "weights": {
              "deterministic": 0.8,
              "agent_friendly": 0.2
            }
          },
          "coverage_valid": true,
          "data_non_empty": false,
          "freshness_valid": true,
          "data_quality_issues": [],
          "deterministic_score": 0.45,
          "agent_friendly_score": 0.76,
          "overall_quality_score": 0.51
        }
      },
      "declared_freshness_seconds": 300,
      "result_contract": {
        "envelope_required": true,
        "deterministic_checks": [
          "http_status",
          "schema",
          "envelope",
          "freshness",
          "coverage",
          "empty_result"
        ],
        "semantic_checks": [
          "agent_friendliness",
          "intent_fit_summary"
        ]
      }
    },
    "health": {
      "health_version": "agent_service_health_v1",
      "status": "healthy",
      "last_validation_at": "2026-09-08T08:21:24.360Z",
      "last_validation_ok": true,
      "last_success_at": null,
      "last_failure_at": "2026-09-07T15:14:04.125Z",
      "latest_http_status": 502,
      "recent_failure_rate": 1,
      "circuit_breaker": {
        "active": false,
        "reason": null,
        "recent_window": 1,
        "recent_failures": 1
      }
    },
    "erc8004": {
      "agent_id": "340924",
      "chain": "bsc",
      "chain_id": 56,
      "registry": "0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
      "explorer_url": "https://8004scan.io/agents/56/340924"
    },
    "erc8004_status": {
      "state": "registered",
      "active_chain": "bsc",
      "registered_chain": "bsc",
      "agent_id": "340924"
    },
    "badges": [
      {
        "code": "verified_live_endpoint",
        "label": "Verified live endpoint",
        "level": "positive"
      },
      {
        "code": "healthy",
        "label": "Healthy",
        "level": "positive"
      },
      {
        "code": "fresh_data",
        "label": "Fresh data",
        "level": "positive"
      },
      {
        "code": "source_declared",
        "label": "Source declared",
        "level": "neutral"
      },
      {
        "code": "needs_attention",
        "label": "Needs attention",
        "level": "warning"
      }
    ],
    "created_at": "2026-09-08T08:21:24.360Z",
    "updated_at": "2026-09-08T17:05:33.357Z"
  },
  "manifest": {
    "title": "Get Prediction Market Top Holders",
    "not_for": [],
    "pricing": {
      "amount": "0.01",
      "pay_to": "0x2c4d600a04c0d3bbb1e3cc8a13e54e21c2b6c0bb",
      "network": "base",
      "currency": "USDC",
      "protocol": "x402",
      "settlement_model": "direct_provider_wallet"
    },
    "endpoint": {
      "url": "https://agentrouter.network/provider/custom/nansen_prediction_market_top_holders",
      "method": "POST"
    },
    "provider": {
      "provider_id": "provider_nansen_api",
      "agent_identity": {
        "agent_id": "optional",
        "standard": "erc-8004-compatible",
        "agent_uri": "optional",
        "agent_registry": "optional"
      },
      "payout_address": "0x2c4d600a04c0d3bbb1e3cc8a13e54e21c2b6c0bb",
      "erc8004_agent_id": "340924"
    },
    "freshness": {
      "update_frequency": "on_request",
      "max_data_lag_seconds": 300
    },
    "service_id": "nansen_prediction_market_top_holders",
    "capabilities": [
      "nansen",
      "data_service",
      "prediction_market",
      "polymarket",
      "market_intelligence",
      "token_holders",
      "holder_distribution"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "market_id": {
          "type": "string"
        },
        "pagination": {
          "type": "object",
          "properties": {
            "page": {
              "type": "number"
            },
            "per_page": {
              "type": "number"
            }
          }
        }
      }
    },
    "registration": {
      "duplicate_policy": "same_provider_source_is_idempotent",
      "source_fingerprint": "sha256:43773b218f720502cb9aa240466bc97243cfa61a834c5ca823ead3ae9e604396",
      "manifest_hash": "0x98bede657a051938f83b3fc918498ab6af36543fab879f74e8a3ee46dc86a8c0",
      "config_hash": "0xbf668997503e96bd8d55f13245eeea3709906b793c0ef8c65f001ee3e3f8b477",
      "version": "1.0.0",
      "manifest_type": "hosted_http_data_api",
      "erc8004": {
        "standard": "ERC-8004",
        "network": "bsc",
        "caip2": "eip155:56",
        "chain_id": 56,
        "agent_id": "340924",
        "metadata_uri": "https://agentrouter.network/.well-known/erc8004/vendors/provider_nansen_api.json",
        "metadata_hash": null,
        "identity_registry": "0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
        "reputation_registry": "0x8004BAa17C55a88189AE136b182e5fdA19dE9b63",
        "validation_registry": "0x8004Cb1BF31DAf7788923b405b754f57acEB4272",
        "tx_hash": "0xce780499022ade2028085acc000218a8e5d1cebddf4df912bd9dd779135fc365",
        "status": "registered",
        "updated_at": "2026-09-08T17:05:33.357Z"
      }
    },
    "output_schema": {
      "type": "object",
      "required": [
        "schema_version",
        "service_id",
        "request_id",
        "status",
        "query",
        "data",
        "metadata"
      ],
      "properties": {
        "data": {
          "type": "object"
        },
        "query": {
          "type": "object"
        },
        "status": {
          "type": "string"
        },
        "metadata": {
          "type": "object"
        },
        "request_id": {
          "type": "string"
        },
        "service_id": {
          "type": "string"
        },
        "schema_version": {
          "type": "string"
        }
      }
    },
    "agent_contract": {
      "summary": "Use this Nansen API service when a buyer Agent needs Get Prediction Market Top Holders. Endpoint: POST /api/v1/prediction-market/top-holders. Best for prediction market questions such as markets, events, orderbooks, holders, trades, positions, and PnL.",
      "request_data": {
        "fields": [
          "market_id",
          "pagination"
        ],
        "example": {
          "market_id": "573655",
          "pagination": {
            "page": 1,
            "per_page": 3
          }
        },
        "purpose": "Use this example before payment to decide whether the service accepts the fields needed for the task.",
        "shape_summary": "object keys: market_id, pagination"
      },
      "response_data": {
        "fields": [
          "pagination",
          "pagination.page",
          "pagination.per_page",
          "pagination.is_last_page",
          "data",
          "data.market_id",
          "data.outcome_index",
          "data.address",
          "data.owner_address",
          "data.side",
          "data.position_size",
          "data.avg_entry_price",
          "data.current_price",
          "data.unrealized_pnl_usd"
        ],
        "preview": {
          "data": [
            {
              "side": "example",
              "address": "0x0000000000000000000000000000000000000000",
              "market_id": "example",
              "current_price": "example",
              "outcome_index": "example",
              "owner_address": "0x0000000000000000000000000000000000000000",
              "position_size": "example",
              "avg_entry_price": "example",
              "unrealized_pnl_usd": "example"
            }
          ],
          "pagination": {
            "page": 1,
            "per_page": 10,
            "is_last_page": true
          }
        },
        "purpose": "Use this preview before payment to decide whether the service can return data useful for the task. It is a sample/preview, not a guaranteed paid result.",
        "shape_summary": "object keys: pagination, data"
      },
      "routing_hints": {
        "not_for": [],
        "good_for": [
          "nansen",
          "prediction_market",
          "polymarket",
          "market_intelligence",
          "token_holders",
          "holder_distribution"
        ]
      },
      "capability_tags": [
        "nansen",
        "data_service",
        "prediction_market",
        "polymarket",
        "market_intelligence",
        "token_holders",
        "holder_distribution"
      ],
      "contract_version": "agent_data_service_contract_v1",
      "example_questions": [
        "Query this provider data service with the sample request shape."
      ],
      "quality_expectations": {
        "result_envelope": "agent_data_envelope_v1",
        "must_include_metadata": [
          "data_sources",
          "generated_at",
          "freshness_seconds",
          "confidence",
          "limitations"
        ],
        "empty_result_should_be_explicit": true,
        "preview_paid_shape_should_match": true
      },
      "request_shape_summary": "object keys: market_id, pagination",
      "response_shape_summary": "object keys: pagination, data",
      "routing": {
        "routing_version": "agentrouter_structured_routing_v1",
        "domains": [
          "crypto",
          "market_data",
          "onchain"
        ],
        "data_types": [
          "nansen",
          "prediction_market",
          "polymarket",
          "market_intelligence",
          "token_holders",
          "holder_distribution",
          "price"
        ],
        "entities": [
          "token",
          "wallet_address",
          "time_window"
        ],
        "chains": [],
        "time_requirements": {
          "supports_realtime": true,
          "supports_historical": true,
          "accepted_time_fields": []
        },
        "input_fields": [
          "market_id",
          "pagination"
        ],
        "output_fields": [
          "data",
          "data.side",
          "data.address",
          "data.market_id",
          "data.current_price",
          "data.outcome_index",
          "data.owner_address",
          "data.position_size",
          "data.avg_entry_price",
          "data.unrealized_pnl_usd",
          "pagination",
          "pagination.page",
          "pagination.per_page",
          "pagination.is_last_page"
        ],
        "keywords": [
          "prediction",
          "market",
          "top",
          "holders",
          "nansen",
          "when",
          "buyer",
          "agent",
          "needs",
          "endpoint",
          "prediction-market",
          "top-holders",
          "best",
          "questions",
          "such",
          "markets",
          "events",
          "orderbooks"
        ],
        "capability_refs": [
          "nansen",
          "data_service",
          "prediction_market",
          "polymarket",
          "market_intelligence",
          "token_holders",
          "holder_distribution"
        ]
      }
    },
    "sample_request": {
      "market_id": "573655",
      "pagination": {
        "page": 1,
        "per_page": 3
      }
    },
    "runtime_secrets": {
      "public": false,
      "custody": "hosted_runtime_config",
      "required": true
    },
    "sample_response": {
      "data": {
        "data": [
          {
            "side": "example",
            "address": "0x0000000000000000000000000000000000000000",
            "market_id": "example",
            "current_price": "example",
            "outcome_index": "example",
            "owner_address": "0x0000000000000000000000000000000000000000",
            "position_size": "example",
            "avg_entry_price": "example",
            "unrealized_pnl_usd": "example"
          }
        ],
        "pagination": {
          "page": 1,
          "per_page": 10,
          "is_last_page": true
        }
      },
      "query": {
        "market_id": "573655",
        "pagination": {
          "page": 1,
          "per_page": 3
        }
      },
      "status": "success",
      "summary": "Use this Nansen API service when a buyer Agent needs Get Prediction Market Top Holders. Endpoint: POST /api/v1/prediction-market/top-holders. Best for prediction market questions such as markets, events, orderbooks, holders, trades, positions, and PnL. (sample response)",
      "metadata": {
        "confidence": 0.7,
        "limitations": [
          "Sample response is mock/static and not a live paid response."
        ],
        "data_sources": [
          "provider_config_hosted_http"
        ],
        "generated_at": "2026-05-24T05:56:13.895Z",
        "is_estimated": true,
        "freshness_seconds": 86400
      },
      "request_id": "sample_req",
      "service_id": "nansen_prediction_market_top_holders",
      "agent_hints": {
        "good_for": [
          "MVP validation",
          "Agent response parsing"
        ],
        "warnings": [
          "Use paid invocation for the full response."
        ],
        "suggested_followups": []
      },
      "sample_type": "mock",
      "schema_version": "agent_data_envelope_v1"
    },
    "manifest_version": "agent_data_service_manifest_v1",
    "data_source_claim": {
      "source_type": "provider_declared_data_service",
      "credential_custody": "hosted_runtime_config",
      "authorization_status": "provider_declared",
      "redistribution_status": "provider_declared",
      "source_provenance_level": "wrapped_api",
      "platform_stores_credentials": true
    },
    "description_for_agent": "Use this Nansen API service when a buyer Agent needs Get Prediction Market Top Holders. Endpoint: POST /api/v1/prediction-market/top-holders. Best for prediction market questions such as markets, events, orderbooks, holders, trades, positions, and PnL.",
    "manifest_type": "hosted_http_data_api",
    "version": "1.0.0",
    "routing": {
      "routing_version": "agentrouter_structured_routing_v1",
      "domains": [
        "crypto",
        "market_data",
        "onchain"
      ],
      "data_types": [
        "nansen",
        "prediction_market",
        "polymarket",
        "market_intelligence",
        "token_holders",
        "holder_distribution",
        "price"
      ],
      "entities": [
        "token",
        "wallet_address",
        "time_window"
      ],
      "chains": [],
      "time_requirements": {
        "supports_realtime": true,
        "supports_historical": true,
        "accepted_time_fields": []
      },
      "input_fields": [
        "market_id",
        "pagination"
      ],
      "output_fields": [
        "data",
        "data.side",
        "data.address",
        "data.market_id",
        "data.current_price",
        "data.outcome_index",
        "data.owner_address",
        "data.position_size",
        "data.avg_entry_price",
        "data.unrealized_pnl_usd",
        "pagination",
        "pagination.page",
        "pagination.per_page",
        "pagination.is_last_page"
      ],
      "keywords": [
        "prediction",
        "market",
        "top",
        "holders",
        "nansen",
        "when",
        "buyer",
        "agent",
        "needs",
        "endpoint",
        "prediction-market",
        "top-holders",
        "best",
        "questions",
        "such",
        "markets",
        "events",
        "orderbooks"
      ],
      "capability_refs": [
        "nansen",
        "data_service",
        "prediction_market",
        "polymarket",
        "market_intelligence",
        "token_holders",
        "holder_distribution"
      ]
    },
    "erc8257": {
      "compatible": true,
      "compatibility_version": "agentrouter_erc8257_manifest_compat_v1",
      "tool_manifest_standard": "ERC-8257",
      "tool_type": "hosted_http_data_api",
      "tool_id": "nansen_prediction_market_top_holders",
      "registry_strategy": "compatible_manifest_only_no_custom_onchain_tool_registry",
      "metadata_hash": "0x98bede657a051938f83b3fc918498ab6af36543fab879f74e8a3ee46dc86a8c0"
    },
    "integrity": {
      "integrity_version": "agentrouter_manifest_integrity_v1",
      "algorithm": "sha256-stable-json",
      "manifest_hash": "0x98bede657a051938f83b3fc918498ab6af36543fab879f74e8a3ee46dc86a8c0",
      "config_hash": "0xbf668997503e96bd8d55f13245eeea3709906b793c0ef8c65f001ee3e3f8b477",
      "created_at": "2026-09-08T17:05:33.255Z",
      "updated_at": "2026-09-08T17:05:33.255Z"
    }
  },
  "latest_validation": {
    "ok": true,
    "service_id": "nansen_prediction_market_top_holders",
    "schema_errors": [],
    "envelope_errors": [],
    "result_errors": [],
    "result_preview": null,
    "created_at": "2026-09-08T08:21:24.360Z",
    "redaction": {
      "redacted": true,
      "reason": "Latest validation proves the endpoint responded with JSON, but public output omits paid data values."
    }
  },
  "recent_evidence_events": [],
  "recent_quality_events": [
    {
      "input": {
        "chain": "robinhood",
        "order_by": [
          {
            "field": "token_amount",
            "direction": "DESC"
          }
        ],
        "label_type": "all_holders",
        "pagination": {
          "page": 1,
          "per_page": 10
        },
        "token_address": "0x39dbed3a2bd333467115de45665cc57f813c4571",
        "aggregate_by_entity": false
      },
      "status": "quality_issue",
      "created_at": "2026-09-07T15:14:04.125Z",
      "payment_tx": "credits:cle_d12d29b9-7369-4b27-9839-268319ef944c",
      "request_id": "req_1788794042973",
      "service_id": "nansen_prediction_market_top_holders",
      "http_status": 502,
      "provider_id": "provider_nansen_api",
      "event_version": "agent_service_quality_event_v1",
      "business_error": {
        "code": "RESULT_STATUS_NOT_SUCCESS",
        "message": "Provider envelope status is not success.",
        "detected": true
      },
      "blocking_issues": [
        {
          "code": "SCHEMA_ERROR",
          "message": "$.data is required"
        },
        {
          "code": "RESULT_STATUS_NOT_SUCCESS",
          "message": "Provider envelope status is not success."
        },
        {
          "code": "RESULT_DATA_EMPTY",
          "message": "Provider returned no usable data."
        }
      ],
      "quality_event_id": "qe_1788794044125_6ac79e69",
      "blocking_issue_count": 3,
      "agent_feedback_expected": true,
      "deterministic_verification": {
        "issues": [
          {
            "code": "SCHEMA_ERROR",
            "message": "$.data is required"
          },
          {
            "code": "STATUS_NOT_SUCCESS",
            "message": "Result status is not success."
          },
          {
            "code": "EMPTY_RESULT",
            "message": "Provider returned a structurally valid response, but the data payload is empty."
          }
        ],
        "data_shape": {
          "type": "undefined",
          "empty": true,
          "top_level_keys": []
        },
        "sanity_valid": true,
        "schema_valid": false,
        "quality_model": {
          "name": "deterministic_first_data_quality_v1",
          "weights": {
            "deterministic": 0.8,
            "agent_friendly": 0.2
          }
        },
        "coverage_valid": true,
        "data_non_empty": false,
        "freshness_valid": true,
        "data_quality_issues": [],
        "deterministic_score": 0.45,
        "agent_friendly_score": 0.76,
        "overall_quality_score": 0.51
      }
    }
  ],
  "recent_feedback_events": [
    {
      "status": "error",
      "created_at": "2026-09-07T15:14:04.125Z",
      "latency_ms": 5577,
      "payment_tx": "credits:cle_d12d29b9-7369-4b27-9839-268319ef944c",
      "request_id": "req_1788794042973",
      "service_id": "nansen_prediction_market_top_holders",
      "consumer_id": "agentrouter_consumer",
      "http_status": 502,
      "provider_id": "provider_nansen_api",
      "schema_valid": false,
      "verification": {
        "issues": [
          {
            "code": "SCHEMA_ERROR",
            "message": "$.data is required"
          },
          {
            "code": "STATUS_NOT_SUCCESS",
            "message": "Result status is not success."
          },
          {
            "code": "EMPTY_RESULT",
            "message": "Provider returned a structurally valid response, but the data payload is empty."
          }
        ],
        "data_shape": {
          "type": "undefined",
          "empty": true,
          "top_level_keys": []
        },
        "sanity_valid": true,
        "schema_valid": false,
        "quality_model": {
          "name": "deterministic_first_data_quality_v1",
          "weights": {
            "deterministic": 0.8,
            "agent_friendly": 0.2
          }
        },
        "coverage_valid": true,
        "data_non_empty": false,
        "freshness_valid": true,
        "data_quality_issues": [],
        "deterministic_score": 0.45,
        "agent_friendly_score": 0.76,
        "overall_quality_score": 0.51
      },
      "event_version": "agent_service_feedback_v1",
      "billing_status": "refunded",
      "business_error": {
        "code": "RESULT_STATUS_NOT_SUCCESS",
        "message": "Provider envelope status is not success."
      },
      "consumer_rating": 0,
      "payment_backend": "credits",
      "payment_collected": false,
      "settlement_receipt": {
        "mode": "credits",
        "asset": "credits",
        "payer": "agentrouter_consumer",
        "amount": "0.01",
        "status": "refunded",
        "network": "agentrouter",
        "protocol": "platform_credits",
        "created_at": "2026-09-07T15:14:04.124Z",
        "balance_after": "19.84",
        "ledger_entry_id": "cle_d12d29b9-7369-4b27-9839-268319ef944c",
        "payment_backend": "credits",
        "receipt_version": "agent_router_settlement_receipt_v1"
      },
      "result_delivery_status": "failed_after_payment"
    }
  ],
  "recent_health_checks": []
}