DeviantArt icon

DeviantArt

Interact with DeviantArt API

Browse → Topic

AI-generated

Overview

This node operation fetches deviations (artworks) from a specific topic on DeviantArt using the DeviantArt API. It is useful for users who want to browse artworks categorized under a particular topic, optionally including mature content, and control the number of results and pagination offset. For example, an artist or curator might use this to gather recent artworks related to a specific theme or subject for inspiration or display.

Use Case Examples

  1. Fetch deviations for a topic with ID '12345' including mature content, limiting results to 20.
  2. Retrieve the first 50 deviations for a topic without mature content, starting from offset 0.

Properties

Name Meaning
Category Path Category path to filter deviations (e.g., digitalart/paintings). Relevant for browsing but not specifically used in the Topic operation.
Limit Maximum number of results to return for the query.
Mature Content Whether to include mature content in the results.
Topic ID The ID of the topic to fetch deviations for. This is a required parameter for the Topic operation.
Offset Result offset for pagination to skip a number of results.

Output

JSON

  • results - Array of deviations (artworks) returned from the topic query.

Dependencies

  • Requires an OAuth2 API credential for DeviantArt to authenticate requests.

Troubleshooting

  • Common issues include invalid or missing Topic ID, which will cause the API request to fail.
  • If the OAuth2 credentials are not set up correctly, authentication errors will occur.
  • Pagination parameters (limit and offset) must be within valid ranges; otherwise, the API may return errors or unexpected results.

Links

Discussion