Artists

Search Artists

GET https://e621.net/artists.json

Query Parameters

NameTypeDescription

search[name]

String

The name of the artist.

search[group_name]

String

The group name of the artist.

search[any_other_name_like]

String

Any name being similar.

search[any_name_matches]

String

Any name matching.

search[any_name_or_url_matches]

String

Any name or url matching.

search[url_matches]

String

Any url matching.

search[is_active]

Boolean

If the artist is active.

search[creator_name]

String

The name of the creator of the artist.

search[creator_id]

Number

The ID of the creator of the artist.

search[has_tag]

Boolean

If the artist has a tag.

search[is_linked]

Boolean

If the artist is linked to a user.

search[order]

String

The order of the returned results. One of: updated_at, name, post_count

search[id]

Number

limit

Number

page

String

[
  {
    "created_at": "0000-00-00T00:00:00.000-00:00",
    "creator_id": 0, // user id
    "group_name": "",
    "id": 0,
    "is_active": true,
    "is_locked": false,
    "linked_user_id": null, // user id
    "name": "",
    "notes": null,
    "other_names": [
      "othername"
    ],
    "updated_at": "0000-00-00T00:00:00.000-00:00",
    "urls": [
      {
        "artist_id": 0,
        "created_at": "0000-00-00T00:00:00.000-00:00",
        "id": 0,
        "is_active": true,
        "updated_at": "0000-00-00T00:00:00.000-00:00",
        "url": "https://e621.net",
        "normalized_url": "http://e621.net/"
      }
    ]
  }
]

Get An Artist

GET https://e621.net/artists/{nameOrID}.json

Path Parameters

NameTypeDescription

nameOrID*

String

The name or ID of the artist to get.

{
  "created_at": "0000-00-00T00:00:00.000-00:00",
  "creator_id": 0, // user id
  "group_name": "",
  "id": 0,
  "is_active": true,
  "is_locked": false,
  "linked_user_id": null, // user id
  "name": "",
  "notes": null,
  "other_names": [
    "othername"
  ],
  "updated_at": "0000-00-00T00:00:00.000-00:00",
  "domains": [
    [
      "e621.net",
      1
    ]
  ],
  "urls": [
    {
      "artist_id": 0,
      "created_at": "0000-00-00T00:00:00.000-00:00",
      "id": 0,
      "is_active": true,
      "updated_at": "0000-00-00T00:00:00.000-00:00",
      "url": "https://e621.net",
      "normalized_url": "http://e621.net/"
    }
  ]
}

Create An Artist

POST https://e621.net/artists.json

Authorization Required

Privileged+ Required If account is less than one week old.

other_names & urls are silently truncated to 25 entries.

notes is silently truncated to the wiki page limit (250,000).

Individual other_names are silently truncated to 100 characters.

Request Body

NameTypeDescription

artist[name]*

String

The name of the artist.

artist[group_name]

String

The group name of the artist.

artist[is_active]

Boolean

If the artist is active.

Janitor+ Required

artist[is_locked]

Boolean

If the artist is locked.

Janitor+ Required

artist[linked_user_id]

Number

The id of the user to link with the artist. A single user can be linked to multiple artists.

Janitor+ Required

artist[notes]

String

The notes for the artist.

artist[other_names_string]

String

The other names of the artist.

artist[url_string]

String

The urls of the artist.

{
  "created_at": "0000-00-00T00:00:00.000-00:00",
  "creator_id": 0, // user id
  "group_name": "",
  "id": 0,
  "is_active": true,
  "is_locked": false,
  "linked_user_id": null, // user id
  "name": "",
  "notes": null,
  "other_names": [
    "othername"
  ],
  "updated_at": "0000-00-00T00:00:00.000-00:00"
}

Edit An Artist

PATCH https://e621.net/artists/{id}.json

Authorization Required

Privileged+ Required If account is less than one week old.

Janitor+ Required If artist is locked or inactive.

other_names & urls are silently truncated to 25 entries.

notes is silently truncated to the wiki page limit (250,000).

Individual other_names are silently truncated to 100 characters.

Path Parameters

NameTypeDescription

id*

Number

The ID of the artist to edit.

Request Body

NameTypeDescription

artist[group_name]

String

The group name of the artist.

artist[is_active]

Boolean

If the artist is active.

Janitor+ Required

artist[is_locked]

Boolean

If the artist is locked.

Janitor+ Required

artist[linked_user_id]

Number

The id of the user to link with the artist. A single user can be linked to multiple artists.

Janitor+ Required

artist[name]

String

The name of the artist.

artist[notes]

String

The notes for the artist.

artist[other_names_string]

String

The other names of the artist.

artist[url_string]

String

The urls of the artist.

Delete An Artist

DELETE https://e621.net/artists/{id}.json

Authorization Required

Janitor+ Required

This operation is idempotent.

Deleting an artist does not actually delete the artist, it sets is_active to false.

To "undelete" an artist, use Edit An Artist with artist[is_active]=true.

Path Parameters

NameTypeDescription

id*

Number

The ID of the artist to delete.

Revert An Artist

POST https://e621.net/artists/{id}/revert.json

Authorization Required

Privileged+ Required If account is less than one week old.

Janitor+ Required If artist is locked or inactive.

This operation is idempotent.

version_id can be specified in the query, or the body.

Path Parameters

NameTypeDescription

id*

Number

The ID of the artist to revert.

Query Parameters

NameTypeDescription

version_id

Number

The ID of the version to revert to.

Last updated