REST Resource: claims
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[[["\u003cp\u003eThis documentation details the Claim, ClaimReview, and Publisher objects, and their JSON representations, for use with the Fact Check Tools API.\u003c/p\u003e\n"],["\u003cp\u003eA Claim object stores information about a claim, such as the claim text, claimant, date, and any associated ClaimReview objects.\u003c/p\u003e\n"],["\u003cp\u003eA ClaimReview object represents a fact-checking article that reviews a claim, and includes details like the publisher, URL, and review rating.\u003c/p\u003e\n"],["\u003cp\u003eA Publisher object stores information about the publisher of a claim review, such as their name and website.\u003c/p\u003e\n"],["\u003cp\u003eThe Fact Check Tools API provides methods to search through claims using text or images.\u003c/p\u003e\n"]]],[],null,["# REST Resource: claims\n\n- [Resource: Claim](#Claim)\n - [JSON representation](#Claim.SCHEMA_REPRESENTATION)\n- [ClaimReview](#ClaimReview)\n - [JSON representation](#ClaimReview.SCHEMA_REPRESENTATION)\n- [Publisher](#Publisher)\n - [JSON representation](#Publisher.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Claim\n---------------\n\nInformation about the claim.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"text\": string, \"claimant\": string, \"claimDate\": string, \"claimReview\": [ { object (/fact-check/tools/api/reference/rest/v1alpha1/claims#ClaimReview) } ] } ``` |\n\n| Fields ||\n|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `text` | `string` The claim text. For instance, \"Crime has doubled in the last 2 years.\" |\n| `claimant` | `string` A person or organization stating the claim. For instance, \"John Doe\". |\n| `claimDate` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` The date that the claim was made. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n| `claimReview[]` | `object (`[ClaimReview](/fact-check/tools/api/reference/rest/v1alpha1/claims#ClaimReview)`)` One or more reviews of this claim (namely, a fact-checking article). |\n\nClaimReview\n-----------\n\nInformation about a claim review.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"publisher\": { object (/fact-check/tools/api/reference/rest/v1alpha1/claims#Publisher) }, \"url\": string, \"title\": string, \"reviewDate\": string, \"textualRating\": string, \"languageCode\": string } ``` |\n\n| Fields ||\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `publisher` | `object (`[Publisher](/fact-check/tools/api/reference/rest/v1alpha1/claims#Publisher)`)` The publisher of this claim review. |\n| `url` | `string` The URL of this claim review. |\n| `title` | `string` The title of this claim review, if it can be determined. |\n| `reviewDate` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` The date the claim was reviewed. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n| `textualRating` | `string` Textual rating. For instance, \"Mostly false\". |\n| `languageCode` | `string` The language this review was written in. For instance, \"en\" or \"de\". |\n\nPublisher\n---------\n\nInformation about the publisher.\n\n| JSON representation |\n|--------------------------------------------|\n| ``` { \"name\": string, \"site\": string } ``` |\n\n| Fields ||\n|--------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The name of this publisher. For instance, \"Awesome Fact Checks\". |\n| `site` | `string` Host-level site name, without the protocol or \"www\" prefix. For instance, \"awesomefactchecks.com\". This value of this field is based purely on the claim review URL. |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------------------|-----------------------------------------------------------------|\n| ### [imageSearch](/fact-check/tools/api/reference/rest/v1alpha1/claims/imageSearch) | Search through fact-checked claims using an image as the query. |\n| ### [search](/fact-check/tools/api/reference/rest/v1alpha1/claims/search) | Search through fact-checked claims. |"]]