textContent.export

Programmatic extraction of textual content from web pages.

The export endpoint will parse the document before exporting its textual content.

Request

POST /toolkit.v0/textContent.export
  • Form

Response

The response will include a Content-Type and Content-Disposition header based on the request's format. The response body can be written directly to a file or streamed to a standard parser.

Example

$ curl https://api.namedgraph.com/toolkit.v0/textContent.export \
  --header @namedgraph-auth-headers.txt \
  --form sourceFile=@example.html \
  --form format=markdown