I do not think that is possible without root access since the Security Patch Level is stored in ro.build.version.security_patch
field inside build.prop which is in /system/
path.
If you have root access, you can just read that file and look for the above mentioned field.
EDIT: as @v6ak mentioned, you access the value of the properly without root too.