Skip to content

Terms of Use


When using data from the RESTasaurus API, include these four required elements:

ElementDescriptionWhere to Find in Response
TitleWikipedia article or image titlesource.pageTitle or image.title
Author”Wikipedia contributors” or image authorsource.author or image.author
SourceWikipedia page URL or image URLsource.wikipediaURL or image.imageURL
LicenseLink to Creative Commons licensesource.license or image.license

The API provides all attribution information in its responses within the source and image objects.


Use these fields from the source object in your attribution:

{
"pageTitle": "Zephyrosaurus",
"author": "Wikipedia contributors",
"wikipediaURL": "https://en.wikipedia.org/wiki/Zephyrosaurus",
"license": "Creative Commons Attribution-Share Alike 4.0",
"licenseURL": "https://creativecommons.org/licenses/by-sa/4.0/deed.en",
"permalink": "https://en.wikipedia.org/w/index.php?title=Zephyrosaurus&oldid=1187326953",
"revisionHistoryURL": "https://en.wikipedia.org/w/index.php?title=Zephyrosaurus&action=history",
"lastRevision": "2023-11-28T15:28:47Z",
"dateAccessed": "2024-01-30T14:27:20.682Z",
"source": "Wikipedia, The Free Encyclopedia",
"publisher": "Wikimedia Foundation",
"citation": "Wikipedia contributors. \"Zephyrosaurus.\" Wikipedia, The Free Encyclopedia. Wikimedia Foundation, 28 Nov 2023. Web. 30 Jan 2024."
}
Wikipedia contributors. "Zephyrosaurus." Wikipedia, The Free Encyclopedia.
Wikimedia Foundation, 28 Nov 2023. Web. 30 Jan 2024.

Use these fields from the image object in your attribution:

{
"title": "Zephyrosaurus in Copenhagen",
"description": "Zephyrosaurus skeleton, Natural History Museum of Denmark, Copenhagen.",
"author": "FunkMonk",
"authorURL": "https://commons.wikimedia.org/wiki/User:FunkMonk",
"imageURL": "https://commons.wikimedia.org/wiki/File:Zephyrosaurus_in_Copenhagen.jpg",
"license": "Creative Commons Attribution-Share Alike 3.0",
"licenseURL": "https://creativecommons.org/licenses/by-sa/3.0",
"dateCreated": "2021-10-01T07:58:48.000Z",
"dateAccessed": "2024-01-30T14:27:20.683Z"
}

For more information on attribution best practices and licensing compliance:


For complete attribution data structures, see: