Evocation Cantrip (Sorcerer, Wizard). Full SRD 5.2.1 text below, then World Seed comparisons computed from all 339 SRD spells.
Shocking Grasp
Evocation Cantrip (Sorcerer, Wizard)
Casting Time
Action
Range
Touch
Components
V, S
Duration
Instantaneous
Lightning springs from you to a creature that you try to touch. Make a melee spell attack against the target. On a hit, the target takes 1d8 Lightning damage, and it can’t make Opportunity Attacks until the start of its next turn.
Cantrip Upgrade. The damage increases by 1d8 when you reach levels 5 (2d8), 11 (3d8), and 17 (4d8).
SRD 5.2.1, page 162
World Seed notes: Shocking Grasp among cantrip spells
Among the 27 cantrip spells in SRD 5.2.1
Share
Shocking Grasp
Need Concentration
11%
No
Can be cast as a Ritual
0%
No
Need a Material component
26%
No
Casting time “Action”
89%
Yes
School Evocation
33%
Yes
Class lists
Shocking Grasp is on 2 class lists in its description. How many cantrip spells each of those classes has in SRD 5.2.1:
Changes made: SRD 5.2.1 text was extracted from the official PDF and converted into structured data (fields such as size, type, Challenge Rating, XP and spell level were split out; line-break hyphenation was removed; tables were reformatted). Spell description reformatted; level, concentration, ritual, component and class-list comparisons added (computed from SRD data). Original rules text is reproduced as published. Commentary, tactics, encounter suggestions and other material marked “World Seed notes” are original to world.hueseed.com and are not part of the SRD.
World Seed is 5E compatible. More on sources and licences: Licences.