Fetch chart metadata

GET
https://api.datawrapper.de/v3/charts/{id}

Requires scope chart:read or chart:write.

Example Request

curl --request GET \
  --url 'https://api.datawrapper.de/v3/charts/example-id?published=true&openComments=false' \
  --header 'Authorization: Bearer <YOUR_TOKEN_HERE>'# 2 more query parameters available — see below.

Path Parameters

NameTypeAllowed valuesRequiredDescription
idstring
5 characters
Yes5 character long chart ID.

Query Parameters

NameTypeAllowed valuesRequiredDescription
publishedbooleanAny No
openCommentsboolean
Default: false
NoReturn the count of open comments.
workspaceTeamSettingsboolean
Default: false
NoInclude frontend-allowed team and workspace settings in the response.
deletedbooleanAny NoOnly include deleted charts.

Response

FieldTypeRequiredDescription
idstringNoID of the visualization
titlestringNoTitle of the visualization
publicIdstringNoPublic ID of the visualization. May be different from the internal ID, if *hash publishing* is enabled.
authorIdintegerNoID of user that created the visualization.
organizationIdstringNoID of the team that the visualization is located in. If null, visualization is private.
folderIdintegerNoID of the folder that the visualization is located in. If null, visualization is in the root of a team, or your private archive.
folderobjectNo
folder.namestringNoUser-defined folder name
languagestringNoVisualization language (output locale), e.g en-US
themestringNoID of theme applied to the visualization
typestringNoType of visualization, e.g d3-lines, d3-maps-choropleth, tables
createdAtstringNoTime and date when the visualization was created.
lastModifiedAtstringNoTime and date when the visualization was last edited.
publishedAtstringNoTime and date when the visualization was last published. null, if the visualization has not been published yet.
lastEditStepintegerNoA number encoding which of the editor steps this chart has been edited in so far. 5 = published.
publicVersionintegerNoIndicates how many times a visualization has been published.
authorobjectNo
author.namestringNoName of the user who created the visualization
author.emailstringNoEmail address of the user who created the visualization
author.avatarstringNoURL pointing to the user avatar
author.colorstringNoColor chosen by the user
thumbnailsobjectNo
thumbnails.fullstringNoURL pointing to the most recently generated preview thumbnail for the visualization. (Image includes header & footer).
thumbnails.plainstringNoURL pointing to the most recently generated preview thumbnail for the visualization. (Image is just the visualization, without header & footer).
urlstringNoAPI URL for the visualization, can be used to retreive additional information, including its metadata.
guestSessionstringNoGuest session id
downloadImageFilenamestringNoDownload image filename
downloadDataFilenamestringNoDownload data filename
sourceImageFilenamesobjectNoSource image filenames
sourceImageFilenames.pngstringNo
sourceImageFilenames.svgstringNo
sourceImageFilenames.pdfstringNo
readonlyKeysstring[]No
openCommentsintegerNoNumber of comments on the visualization
workspaceTeamSettingsobjectNoFrontend-allowed team and workspace settings
deletionInDaysnumberNoNumber of days until the visualization will be permanently deleted.
deletedByobjectNoUser who moved the visualization to the trash.
deletedBy.namestringNoName of the user who moved the visualization to the trash.
deletedBy.emailstringNoEmail address of the user who moved the visualization to the trash.
deletedBy.avatarstringNoURL pointing to the user avatar
deletedBy.colorstringNoColor chosen by the user
publicUrlstringNoURL of published visualization.
deletedbooleanNo
deletedAtstringNoTime and date when the visualization was deleted.
forkablebooleanNoIndicates if the visualization has been shared in the Datawrapper River.
isForkbooleanNoIndicates if the visualization is a copy of another visualization.
forkedFromstringNoID of the visualization that this visualization was copied from. null if it is not a copy.
externalDatastringNoExternal data URL, relevant for live visualizations.
metadataobjectNoAll of the visualization's settings.
chartHashstringNoHash of the visualization's metadata.
customFieldsobjectNo
keywordsstringNoKeywords
utf8booleanNoUTF-8
riverobjectNo
river.sourcestringNo
river.sourceUrlstringNo
basedOnBylinestringNo
workspacestringNo