Hi! Well yes, antiphospholipid syndrome can cause miscarriage, but it may not be the cause in your case. The migraines may or maynot be related. Only proper investigations will tell.
A miscarriage can be very traumatic and I can understand your apprehensions. Each pregnancy behaves separately. Also some causes of miscarriage are related to that pregnancy alone. Some causes tend to recur and you must be careful about these. Generally first trimester abortions or abortions occurring in first three months are due to fetal abnormality, genetic causes, Rh blood group incompatibility and low progesterone hormone. Infection of the uterus, endometriosis, fibroids, etc are some other causes for early abortion. Diabetes, eclampsia, preeclampsia, infection, cord accident, placental insufficiency, small for age baby etc are the various causes that should be looked into if you have second and third trimester abortions. Genetic counseling and help may also be needed for this. You need to consult your gynecologist and run some tests to rule out these causes. Also please consult a headache and migraine specialist. Proper diagnosis and treatment of your problem can help prevent future miscarriages.