{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "rng-sociologic-ai-weighted",
  "title": "Sociologic \u00b7 Weighted Random Selection",
  "url": "https://rng.sociologic.ai/weighted",
  "category": "tools",
  "summary": "Select a random item from a weighted list of up to 1000 options.",
  "seo": {
    "title": "Weighted Random Generator API - x402 RNG",
    "description": "Select random items from weighted distributions via x402. 0.02 USDC per call. Supports up to 1000 weighted items for probabilistic selection."
  },
  "use_cases": [
    "Run weighted random selections for giveaways",
    "Implement probabilistic decision making",
    "Generate random outcomes with custom distributions"
  ],
  "ideal_buyer": "Agents needing weighted randomization for games, simulations, or probabilistic workflows.",
  "example_prompt": "Randomly select one winner from this weighted list of 500 participants based on their entry scores.",
  "example_request_body": {
    "items": [
      {
        "value": "option_a",
        "weight": 10
      },
      {
        "value": "option_b",
        "weight": 20
      }
    ]
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "normal",
    "ratio": 0.667,
    "median_category_atomic": 30000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "verified_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x0b6e3594df4faa6d66196d5a3271796ad8bb505d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "20000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "Select a random item from weighted options (max 1000 items)",
      "verified": true,
      "hints": {
        "input": {
          "body": {
            "type": "object",
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "value",
                    "weight"
                  ],
                  "properties": {
                    "value": {
                      "description": "The item value"
                    },
                    "weight": {
                      "type": "number",
                      "description": "Weight (positive number)"
                    }
                  }
                },
                "maxItems": 1000,
                "description": "Array of weighted items"
              }
            }
          },
          "type": "http",
          "method": "POST",
          "bodyType": "json"
        },
        "output": {
          "type": "json",
          "example": {
            "index": 0,
            "entropy": {
              "hex": "0x1b3d4f94",
              "raw": 456789012
            },
            "selected": "common",
            "probability": 0.7
          }
        }
      }
    }
  ],
  "duplicate_cluster_id": "finance-cl-c2ecae5018a3",
  "origin": {
    "slug": "rng-sociologic-ai",
    "host": "rng.sociologic.ai",
    "url": "https://rng.sociologic.ai"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/rng-sociologic-ai-weighted",
    "url": "https://x402all.com/resource/rng-sociologic-ai-weighted",
    "name": "Sociologic \u00b7 Weighted Random Selection",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/rng-sociologic-ai-weighted",
      "@type": "Offer",
      "price": "0.02",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.020000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://rng.sociologic.ai/weighted",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/rng-sociologic-ai",
      "url": "https://rng.sociologic.ai",
      "name": "rng.sociologic.ai",
      "@type": "Organization"
    },
    "identifier": "rng-sociologic-ai-weighted",
    "description": "Select random items from weighted distributions via x402. 0.02 USDC per call. Supports up to 1000 weighted items for probabilistic selection.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=rng-sociologic-ai-weighted",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "tools"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=rng-sociologic-ai-weighted"
}
