Developers
Menu

Suggest changes to artworks, artists, cities and more. The community checks every suggestion before it goes live.

Everything on Street Art Cities, from artworks to artists and cities, is kept up to date by our community. The Edits API is how your app joins in: it can suggest new artworks, fix details, or add tags, on behalf of the person using it.

Base link: https://streetartcities.com/api/edits

Example: our demo app logs someone in, suggests a change to an artwork, and links them to the review page.

API reference: open in Swagger UI, or grab the OpenAPI spec directly.

What you can change

entityTypeWhat it is
markerAn artwork on the map
artistAn artist profile
cityA city
tagA tag, like stencil or mural
calendar-eventA street art event
community-noteA note from the community on an artwork

Endpoints

EndpointScopeWhat it does
POST /api/editsedits:writeSuggest a change
POST /api/edits/evaluate-permissionsedits:writeCheck whether a change would go live right away
GET /api/edits/mineedits:readChanges the person suggested
GET /api/edits/:idedits:readOne change, with a before and after preview
POST /api/edits/viewsedits:readPreviews for up to 100 changes at once
POST /api/edits/:id/acceptedits:reviewAccept a change
POST /api/edits/:id/rejectedits:reviewReject a change
POST /api/edits/:id/revertedits:reviewUndo an accepted change
GET /api/edits/history/:entityType/:idnoneAll accepted changes to something

Errors

Errors look like this, with a matching status code:

{ "error": "You can't do that." }
StatusMeaning
400Something's wrong with the request
401No token, or the token has run out
403Missing a scope, or the person isn't allowed to do this
404Not found, or the person can't see it