> For the complete documentation index, see [llms.txt](https://docs.artinals.com/artinals-protocol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.artinals.com/artinals-protocol/art20/openapi.md).

# Value Sources (API, Oracle)

**`set_collection_value_source(...)`**: Assigns an API endpoint or oracle address as the value source.

When **`is_api_source = true`**, metadata or NFT values may depend on data fetched from this endpoint.

When **`is_api_source = false`**, the source is considered an oracle address providing on-chain data feeds.

This feature enables dynamic NFTs that can reflect external states or real-world conditions.
