AI-generated Key Takeaways
-
The Fact Check Tools API allows you to interact with fact-checked claims and their associated web pages.
-
You can search for claims using text or images, as well as retrieve and manage ClaimReview markup on web pages.
-
The API provides methods for creating, updating, deleting, and retrieving ClaimReview markup associated with specific URLs.
-
The service is accessible via REST endpoints and utilizes a discovery document for integration with client libraries and tools.
-
The Fact Check Tools API is hosted at the service endpoint
https://factchecktools.googleapis.com
.
Service: factchecktools.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
https://factchecktools.googleapis.com
REST Resource: v1alpha1.claims
Methods | |
---|---|
imageSearch |
GET /v1alpha1/claims:imageSearch Search through fact-checked claims using an image as the query. |
search |
GET /v1alpha1/claims:search Search through fact-checked claims. |
REST Resource: v1alpha1.pages
Methods | |
---|---|
create |
POST /v1alpha1/pages Create ClaimReview markup on a page. |
delete |
DELETE /v1alpha1/{name=pages/*} Delete all ClaimReview markup on a page. |
get |
GET /v1alpha1/{name=pages/*} Get all ClaimReview markup on a page. |
list |
GET /v1alpha1/pages List the ClaimReview markup pages for a specific URL or for an organization. |
update |
PUT /v1alpha1/{claimReviewMarkupPage.name=pages/*} Update for all Note that this is a full update. |