The item ID for Artifact Spot in Stardew Valley is:590
This cheat works on PC, XBOX One, PS4 and the Nintendo Switch.
Item spawning in Stardew Valley isn't accomplished through typical commands. Instead, it involves a cheat method where you name your character, or an animal, with the item code of the desired item, enclosed in square brackets [ and ]. Include the brackets when naming.
To spawn this item, buy an animal (we recommend a chicken because it is the cheapest) from Marnie's Ranch, name it [590]. You will then receive the Artifact Spot item.
Since you can only set your character's name once at the game's inception, we advise using the animal naming method.
However, if you opt for this method, name your character [590]while creating your save file. When you converse with any villager who mentions your name in their dialogue, like Gus at the Stardrop Saloon, you'll receive the Artifact Spot item.

| Item ID | 590 |
An Artifact Spot (also known as worms, stems, or twigs) is a tile that is guaranteed to provide an item when dug up with a Hoe (other tools do not work).
A variety of location-dependent items can be obtained from artifact spots; they are a key source for Artifacts and Lost Books. Artifact spots are much more common in Winter, where they can also yield Snow Yams and Winter Roots.