Api Endpoint

x402stock.xyz

Global news tone for any company, ticker, or topic, from the GDELT Project's worldwide news monitoring. Pass `?q=Nvidia` (required), `?timespan=1d|3d|1w|2w|1m|3m` (default 1w). Returns article-weighted average tone with a positive/neutral/negative label and split, article count, the headlines at each end of the tone range, and trend when cached. `stale: true` marks an older copy. From x402stock

Open interactive test console

Offering

Provider
x402stock.xyz
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Web Search Research
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402stock.xyz/api/v1/news-sentiment
MIME type
application/json
First seen
2026-10-16T01:54:06.400Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85"
  }
]

Observed health

Status
Healthy
Latest latency
132 ms
Average latency
577 ms
HTTP status
402
Last checked
Reachability
100% over 7 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "q": {
          "type": "string",
          "minLength": 2,
          "maxLength": 120
        },
        "timespan": {
          "default": "1w",
          "type": "string",
          "enum": [
            "1d",
            "3d",
            "1w",
            "2w",
            "1m",
            "3m"
          ]
        }
      },
      "required": [
        "timespan"
      ],
      "additionalProperties": {}
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": {},
          "properties": {
            "q": {
              "maxLength": 120,
              "minLength": 2,
              "type": "string"
            },
            "timespan": {
              "default": "1w",
              "enum": [
                "1d",
                "3d",
                "1w",
                "2w",
                "1m",
                "3m"
              ],
              "type": "string"
            }
          },
          "required": [
            "timespan"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "as_of": {
              "type": "string"
            },
            "attribution": {
              "type": "string"
            },
            "indexed_through": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "query": {
              "type": "string"
            },
            "recent_articles": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "domain": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "language": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "seen": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "source_country": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "title": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "title",
                  "url",
                  "domain",
                  "source_country",
                  "language",
                  "seen"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "sentiment": {
              "additionalProperties": false,
              "properties": {
                "average_tone": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "distribution": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "negative": {
                          "type": "number"
                        },
                        "neutral": {
                          "type": "number"
                        },
                        "positive": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "negative",
                        "neutral",
                        "positive"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "label": {
                  "type": "string"
                },
                "latest_tone": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "scale": {
                  "type": "string"
                },
                "trend": {
                  "type": "string"
                }
              },
              "required": [
                "latest_tone",
                "average_tone",
                "label",
                "trend",
                "distribution",
                "scale"
              ],
              "type": "object"
            },
            "source": {
              "const": "x402stock",
              "type": "string"
            },
            "stale": {
              "type": "boolean"
            },
            "timespan": {
              "type": "string"
            },
            "tone_timeline": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tone": {
                    "type": "number"
                  }
                },
                "required": [
                  "date",
                  "tone"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "top_articles": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "domain": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "title": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tone": {
                    "type": "number"
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "title",
                  "url",
                  "domain",
                  "tone"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "venue": {
              "const": "gdelt",
              "type": "string"
            },
            "volume": {
              "additionalProperties": false,
              "properties": {
                "points": {
                  "type": "number"
                },
                "total_articles": {
                  "type": "number"
                }
              },
              "required": [
                "total_articles",
                "points"
              ],
              "type": "object"
            },
            "volume_timeline": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "articles": {
                    "type": "number"
                  },
                  "date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "total_monitored": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "date",
                  "articles",
                  "total_monitored"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "source",
            "venue",
            "as_of",
            "stale",
            "indexed_through",
            "query",
            "timespan",
            "sentiment",
            "volume",
            "tone_timeline",
            "volume_timeline",
            "recent_articles",
            "top_articles",
            "attribution"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}